[vlc-devel] commit: contribs: make sure libgsm geet' s compiled with the setup we chose on OS X ( Felix Paul Kühne )
git version control
git at videolan.org
Sat Aug 1 14:02:33 CEST 2009
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Aug 1 14:02:06 2009 +0200| [1b48ec7565521a25da916111c02fb608a91188b4] | committer: Felix Paul Kühne
contribs: make sure libgsm geet's compiled with the setup we chose on OS X
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1b48ec7565521a25da916111c02fb608a91188b4
---
extras/contrib/src/Makefile | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index 82ec6fe..15131a8 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -2561,6 +2561,9 @@ gsm: gsm-$(GSM_VERSION).tar.gz
ifneq ($(HOST),$(BUILD))
(patch -p0 < Patches/gsm-cross.patch)
endif
+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
.gsm: gsm
(cd $<; $(HOSTCC) make && cp inc/gsm.h $(PREFIX)/include && cp lib/libgsm.a $(PREFIX)/lib)
More information about the vlc-devel
mailing list