[vlc-commits] lua: add LDFLAGS to Solaris build

Sean McGovern git at videolan.org
Sat Jul 26 01:32:05 CEST 2014


vlc | branch: master | Sean McGovern <gseanmcg at gmail.com> | Fri Jul 25 19:07:13 2014 -0400| [c433918ec056f0b6a1b6ecbce01e03f62bc68ebf] | committer: Jean-Baptiste Kempf

lua: add LDFLAGS to Solaris build

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 contrib/src/lua/rules.mak |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/contrib/src/lua/rules.mak b/contrib/src/lua/rules.mak
index 64c7ad1..8be4af2 100644
--- a/contrib/src/lua/rules.mak
+++ b/contrib/src/lua/rules.mak
@@ -51,6 +51,11 @@ ifdef HAVE_DARWIN_OS
 		-e 's%LDFLAGS=%LDFLAGS=$(EXTRA_CFLAGS) $(EXTRA_LDFLAGS)%' \
 		-i.orig src/Makefile)
 endif
+ifdef HAVE_SOLARIS
+	(cd $(UNPACK_DIR) && \
+	sed -e 's%LIBS="-ldl"$$%LIBS="-ldl" MYLDFLAGS="$(EXTRA_LDFLAGS)"%' \
+		-i.orig src/Makefile)
+endif
 ifdef HAVE_WIN32
 	cd $(UNPACK_DIR) && sed -i.orig -e 's/lua luac/lua.exe luac.exe/' Makefile
 endif



More information about the vlc-commits mailing list