mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
5199a23165
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45509
12 lines
364 B
Diff
12 lines
364 B
Diff
--- 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) -shared -Wl,-soname="$@.$(PKG_VERSION)" $?
|
|
+ $(CC) -o $@.$(PKG_VERSION) -Wl,-Bsymbolic-functions -shared -Wl,-soname="$@.$(PKG_VERSION)" $?
|
|
ln -fs $@.$(PKG_VERSION) $@
|
|
|
|
$(LUA_T): $(LUA_O) $(LUA_SO)
|