mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-08 21:52:09 -05:00
lua: Forward LDFLAGS
Forward the TARGET_LDFLAGS to the linking process. Link: https://github.com/openwrt/openwrt/pull/20813 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
18cad16f5b
commit
08997df475
@ -304,7 +304,7 @@
|
|||||||
-$(LUA_T): $(LUA_O) $(LUA_A)
|
-$(LUA_T): $(LUA_O) $(LUA_A)
|
||||||
- $(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
|
- $(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
|
||||||
+$(LUA_SO): $(CORE_O) $(LIB_O)
|
+$(LUA_SO): $(CORE_O) $(LIB_O)
|
||||||
+ $(CC) -o $@ -Wl,-Bsymbolic-functions -shared -Wl,-soname="$@" $?
|
+ $(CC) -o $@ $(MYLDFLAGS) -Wl,-Bsymbolic-functions -shared -Wl,-soname="$@" $?
|
||||||
+ ln -fs $@ liblua$V.so.0.0
|
+ ln -fs $@ liblua$V.so.0.0
|
||||||
+ ln -fs $@ liblua$V.so.0
|
+ ln -fs $@ liblua$V.so.0
|
||||||
+ ln -fs $@ liblua$V.so
|
+ ln -fs $@ liblua$V.so
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user