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

Sean McGovern git at videolan.org
Sat Jul 26 01:37:35 CEST 2014


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

lua: add LDFLAGS to Solaris build

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit c433918ec056f0b6a1b6ecbce01e03f62bc68ebf)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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