Skip to content

Commit 08997df

Browse files
committed
lua: Forward LDFLAGS
Forward the TARGET_LDFLAGS to the linking process. Link: openwrt/openwrt#20813 Signed-off-by: Hauke Mehrtens <[email protected]>
1 parent 18cad16 commit 08997df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/utils/lua5.3/patches/020-shared_liblua.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@
304304
-$(LUA_T): $(LUA_O) $(LUA_A)
305305
- $(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
306306
+$(LUA_SO): $(CORE_O) $(LIB_O)
307-
+ $(CC) -o $@ -Wl,-Bsymbolic-functions -shared -Wl,-soname="$@" $?
307+
+ $(CC) -o $@ $(MYLDFLAGS) -Wl,-Bsymbolic-functions -shared -Wl,-soname="$@" $?
308308
+ ln -fs $@ liblua$V.so.0.0
309309
+ ln -fs $@ liblua$V.so.0
310310
+ ln -fs $@ liblua$V.so

0 commit comments

Comments
 (0)