aboutsummaryrefslogtreecommitdiffstats
path: root/formats/Makefile
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-10-26 18:50:49 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-10-26 18:50:49 +0000
commitf9db8abd4d1bfa16f4135638c600ba0eaadec083 (patch)
tree7d179763d95152f24ed90027acafdc363c2afcef /formats/Makefile
parent6b2aaaa721016826b533a71fb162df76db99fecc (diff)
Make it build and run on MacOS X
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1673 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'formats/Makefile')
-rwxr-xr-xformats/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/formats/Makefile b/formats/Makefile
index 036118c5b..58c649ba7 100755
--- a/formats/Makefile
+++ b/formats/Makefile
@@ -30,14 +30,14 @@ clean:
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