2
0

040-use-symbolic-functions.patch 364 B

1234567891011
  1. --- a/src/Makefile
  2. +++ b/src/Makefile
  3. @@ -56,7 +56,7 @@ $(LUA_A): $(CORE_O) $(LIB_O)
  4. $(RANLIB) $@
  5. $(LUA_SO): $(CORE_O) $(LIB_O)
  6. - $(CC) -o $@.$(PKG_VERSION) -shared -Wl,-soname="$@.$(PKG_VERSION)" $?
  7. + $(CC) -o $@.$(PKG_VERSION) -Wl,-Bsymbolic-functions -shared -Wl,-soname="$@.$(PKG_VERSION)" $?
  8. ln -fs $@.$(PKG_VERSION) $@
  9. $(LUA_T): $(LUA_O) $(LUA_SO)