[vlc-commits] contrib: fixed compilation of libgsm for iOS

Felix Paul Kühne git at videolan.org
Tue Mar 20 18:59:34 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Mar 20 18:53:44 2012 +0100| [d9d46900168121a534bd4623632a7649883a828d] | committer: Felix Paul Kühne

contrib: fixed compilation of libgsm for iOS

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d9d46900168121a534bd4623632a7649883a828d
---

 contrib/src/gsm/rules.mak |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/src/gsm/rules.mak b/contrib/src/gsm/rules.mak
index 99d72c4..87af274 100644
--- a/contrib/src/gsm/rules.mak
+++ b/contrib/src/gsm/rules.mak
@@ -12,7 +12,7 @@ gsm: gsm-$(GSM_VERSION).tar.gz .sum-gsm
 	mv gsm-1.0-* gsm-$(GSM_VERSION)
 	$(APPLY) $(SRC)/gsm/gsm-cross.patch
 	$(MOVE)
-ifdef HAVE_MACOSX
+ifdef HAVE_DARWIN_OS
 	(cd $@; sed -e 's%-O2%-O2\ $(EXTRA_CFLAGS)\ $(EXTRA_LDFLAGS)%' -e 's%# LDFLAGS >=%LDFLAGS >-= $(EXTRA_LDFLAGS)%' -e 's%gcc%$(CC)%' -i.orig  Makefile)
 endif
 	(cd $@; sed -i -e 's%-O2%-O2 -fPIC%' Makefile)



More information about the vlc-commits mailing list