Commit 0224fa5f authored by Sean McGovern's avatar Sean McGovern Committed by Jean-Baptiste Kempf

lua: add LDFLAGS to Solaris build

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit c433918ec056f0b6a1b6ecbce01e03f62bc68ebf)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5147163f
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment