mirror of https://github.com/hak5/openwrt-owl.git
lua: honor LDFLAGS
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46036owl
parent
ca96d1ab3f
commit
feeea1cd28
|
@ -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) $@
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue