[Asterisk-cvs] asterisk/formats Makefile,1.8,1.9

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


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

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


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Makefile	25 Oct 2003 17:27:53 -0000	1.8
+++ Makefile	26 Oct 2003 18:50:49 -0000	1.9
@@ -30,14 +30,14 @@
 	rm -f *.so *.o .depend
 
 %.so : %.o
-	$(CC) -shared -Xlinker -x -o $@ $<
+	$(CC) $(SOLINK) -o $@ $<
 
 ifneq ($(wildcard .depend),)
 include .depend
 endif
 
 format_mp3.so : format_mp3.o
-	$(CC) -shared -Xlinker -x -o $@ $< -lm
+	$(CC) $(SOLINK) -o $@ $< -lm
 
 install: all
 	for x in $(FORMAT_LIBS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done




More information about the svn-commits mailing list