index
:
openwrt.git
OpenWrt Source Repository
log msg
author
committer
range
feature/odhcpd_odhcp6c_udhcpc-capsdrop
linksys3200ac-master
master
about
summary
refs
log
tree
commit
diff
path:
root
/
package
/
utils
/
lua
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Steven Barth <cyrus@openwrt.org>
2015-06-18 10:55:57 +0000
committer
Steven Barth <cyrus@openwrt.org>
2015-06-18 10:55:57 +0000
commit
feeea1cd2811caa68e289de312f6ba0821223e19
(
patch
)
tree
2dfccbe33206538ca9e062afc23d1c956773edbd
/
package/utils/lua
parent
ca96d1ab3fc2ddb4d14c1a43185d6301e97eb462
(
diff
)
lua: honor LDFLAGS
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46036
Diffstat
(limited to 'package/utils/lua')
-rw-r--r--
package/utils/lua/patches/050-honor-cflags.patch
11
1 files changed, 11 insertions, 0 deletions
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 0000000000..dd65791482
--- /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) $@
+
+