From: Steven Barth Date: Thu, 18 Jun 2015 10:55:57 +0000 (+0000) Subject: lua: honor LDFLAGS X-Git-Tag: reboot~2739 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=feeea1cd2811caa68e289de312f6ba0821223e19;p=openwrt%2Fstaging%2Fblogic.git lua: honor LDFLAGS Signed-off-by: Steven Barth SVN-Revision: 46036 --- diff --git a/package/utils/lua/patches/050-honor-cflags.patch b/package/utils/lua/patches/050-honor-cflags.patch new file mode 100644 index 000000000000..dd6579148277 --- /dev/null +++ b/package/utils/lua/patches/050-honor-cflags.patch @@ -0,0 +1,11 @@ +--- a/src/Makefile ++++ b/src/Makefile +@@ -56,7 +56,7 @@ $(LUA_A): $(CORE_O) $(LIB_O) + $(RANLIB) $@ + + $(LUA_SO): $(CORE_O) $(LIB_O) +- $(CC) -o $@.$(PKG_VERSION) -Wl,-Bsymbolic-functions -shared -Wl,-soname="$@.$(PKG_VERSION)" $? ++ $(CC) -o $@.$(PKG_VERSION) -Wl,-Bsymbolic-functions $(MYLDFLAGS) -shared -Wl,-soname="$@.$(PKG_VERSION)" $? + ln -fs $@.$(PKG_VERSION) $@ + +