diff options
| author | Hauke Mehrtens | 2025-11-16 22:35:44 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-11-18 22:13:46 +0000 |
| commit | 08997df4753470811829ea09eec7a5c3366aac63 (patch) | |
| tree | 889253e1eac8e53207be822bb80820969e9f6ae8 | |
| parent | 18cad16f5b22390a463a9aa853ccc8d7ae0d7a38 (diff) | |
| download | openwrt-08997df4753470811829ea09eec7a5c3366aac63.tar.gz | |
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>
| -rw-r--r-- | package/utils/lua5.3/patches/020-shared_liblua.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/utils/lua5.3/patches/020-shared_liblua.patch b/package/utils/lua5.3/patches/020-shared_liblua.patch index a462fa4f1e..66666133b6 100644 --- a/package/utils/lua5.3/patches/020-shared_liblua.patch +++ b/package/utils/lua5.3/patches/020-shared_liblua.patch @@ -304,7 +304,7 @@ -$(LUA_T): $(LUA_O) $(LUA_A) - $(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS) +$(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 + ln -fs $@ liblua$V.so |