summaryrefslogtreecommitdiff
path: root/codecs/Makefile
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-10-26 18:50:49 +0000
committerMark Spencer <markster@digium.com>2003-10-26 18:50:49 +0000
commit4ce283ff18585130bd8edafb6ce7ef3cc216cbab (patch)
tree7d179763d95152f24ed90027acafdc363c2afcef /codecs/Makefile
parentcd5bbf0f35f2c3fa954d3cdfbf79fe207fb3a29a (diff)
Make it build and run on MacOS X
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/Makefile')
-rwxr-xr-xcodecs/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/codecs/Makefile b/codecs/Makefile
index 75bcced3c..a86709da8 100755
--- a/codecs/Makefile
+++ b/codecs/Makefile
@@ -68,31 +68,31 @@ $(LIBILBC):
$(MAKE) -C ilbc all
codec_ilbc.so: codec_ilbc.o $(LIBILBC)
- $(CC) -shared -Xlinker -x -o $@ $< $(LIBILBC)
+ $(CC) $(SOLINK) -o $@ $< $(LIBILBC)
codec_g723_1.so : codec_g723_1.o $(LIBG723)
- $(CC) -shared -Xlinker -x -o $@ $< $(LIBG723)
+ $(CC) $(SOLINK) -o $@ $< $(LIBG723)
codec_g723_1b.o : codec_g723_1.c
$(CC) -c -o $@ $(CFLAGS) -DANNEX_B -Dsingle $<
codec_g723_1b.so : codec_g723_1b.o $(LIBG723B)
- $(CC) -shared -Xlinker -x -o $@ $< $(LIBG723B) -lm
+ $(CC) $(SOLINK) -o $@ $< $(LIBG723B) -lm
codec_gsm.so: codec_gsm.o $(LIBGSMT)
- $(CC) -shared -Xlinker -x -o $@ $< $(LIBGSM)
+ $(CC) $(SOLINK) -o $@ $< $(LIBGSM)
codec_speex.so: codec_speex.o
- $(CC) -shared -Xlinker -x -o $@ $< $(LIBSPEEX)
+ $(CC) $(SOLINK) -o $@ $< $(LIBSPEEX)
codec_lpc10.so: codec_lpc10.o $(LIBLPC10)
- $(CC) -shared -Xlinker -x -o $@ $< $(LIBLPC10) -lm
+ $(CC) $(SOLINK) -o $@ $< $(LIBLPC10) -lm
codec_mp3_d.so: codec_mp3_d.o $(LIBMP3)
- $(CC) -lm -shared -Xlinker -x -o $@ $< $(LIBMP3)
+ $(CC) -lm $(SOLINK) -o $@ $< $(LIBMP3)
%.so : %.o
- $(CC) -shared -Xlinker -x -o $@ $<
+ $(CC) $(SOLINK) -o $@ $<
include .depend