[vlc-devel] commit: contrib/lua: fixed cross-compilation on Darwin ( Felix Paul Kühne )
git version control
git at videolan.org
Wed Oct 28 22:16:57 CET 2009
vlc | branch: 1.0-bugfix | Felix Paul Kühne <fkuehne at videolan.org> | Wed Oct 28 22:16:18 2009 +0100| [c962cd80df6a6d267fb2c8b181c89a3d181b16a1] | committer: Felix Paul Kühne
contrib/lua: fixed cross-compilation on Darwin
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c962cd80df6a6d267fb2c8b181c89a3d181b16a1
---
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 72bb8ef..2a4f8e9 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -669,6 +669,9 @@ lua-$(LUA_VERSION).tar.gz:
lua: lua-$(LUA_VERSION).tar.gz
$(EXTRACT_GZ)
+ifdef HAVE_DARWIN_OS
+ (cd $@; sed -e 's%gcc%$(CC)%' -e 's%LDFLAGS=%LDFLAGS=$(EXTRA_CFLAGS) $(EXTRA_LDFLAGS)%' -i.orig src/Makefile)
+endif
.lua: lua
ifdef HAVE_WIN32
More information about the vlc-devel
mailing list