aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/Makefile
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-08 04:13:19 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-08 04:13:19 +0000
commitccc2fc8a310b16ad7a978d07ebf40535e6bf3ee9 (patch)
treeac7748259e8c5731376a912004a76e59ab0b1c3d /codecs/Makefile
parentd0b521d57cacdaccc50268c8415defeeeb6fded2 (diff)
issue #5569 minus lock.h changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7024 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/Makefile')
-rwxr-xr-xcodecs/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/codecs/Makefile b/codecs/Makefile
index edf029219..d1feb8a54 100755
--- a/codecs/Makefile
+++ b/codecs/Makefile
@@ -14,6 +14,8 @@
ifeq (${OSARCH},CYGWIN)
CYGSOLINK=-Wl,--out-implib=lib$@.a -Wl,--export-all-symbols
CYGSOLIB=-L.. -L. -lasterisk.dll
+else
+CFLAGS+=-fPIC
endif
ifneq ($(wildcard g723.1/coder.c),)
@@ -57,7 +59,6 @@ ifneq ($(wildcard ilbc/iLBC_decode.h),)
LIBILBC=ilbc/libilbc.a
endif
-CFLAGS+=-fPIC
LIBGSM=gsm/lib/libgsm.a
LIBGSMT=gsm/lib/libgsm.a