[Asterisk-cvs] asterisk/pbx Makefile,1.5,1.6

markster at lists.digium.com markster at lists.digium.com
Sun Oct 26 12:24:47 CST 2003


Update of /usr/cvsroot/asterisk/pbx
In directory mongoose.digium.com:/tmp/cvs-serv12438/pbx

Modified Files:
	Makefile 
Log Message:
Make it build and run on MacOS X


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Makefile	25 Oct 2003 17:27:53 -0000	1.5
+++ Makefile	26 Oct 2003 18:50:49 -0000	1.6
@@ -40,7 +40,7 @@
 	$(CC) $(CFLAGS) $(GTK_FLAGS) -c -o $@ $<
 
 pbx_gtkconsole.so: pbx_gtkconsole.o
-	$(CC) -shared -Xlinker -x -o $@ $< $(GTK_LIBS)
+	$(CC) $(SOLINK) -o $@ $< $(GTK_LIBS)
 
 pbx_kdeconsole.o: pbx_kdeconsole.cc pbx_kdeconsole.moc
 	$(CXX) $(CFLAGS) $(KDE_FLAGS) -c -o $@ $<
@@ -49,13 +49,13 @@
 	$(CXX) $(CFLAGS) $(KDE_FLAGS) -c -o $@ $<
 
 pbx_kdeconsole.so: $(KDE_CONSOLE_OBJS)
-	$(CC) -shared -Xlinker -x -o $@ $(KDE_CONSOLE_OBJS) $(KDE_LIBS)
+	$(CC) $(SOLINK) -o $@ $(KDE_CONSOLE_OBJS) $(KDE_LIBS)
 
 %.moc : %.h
 	$(MOC) $< -o $@
 
 %.so : %.o
-	$(CC) -shared -Xlinker -x -o $@ $<
+	$(CC) $(SOLINK) -o $@ $<
 
 ifneq ($(wildcard .depend),)
 include .depend




More information about the svn-commits mailing list