diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/lua/lua-02-shared-libs-for-lua.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/lua/lua-02-shared-libs-for-lua.patch b/package/lua/lua-02-shared-libs-for-lua.patch index 454e66002..97a70684f 100644 --- a/package/lua/lua-02-shared-libs-for-lua.patch +++ b/package/lua/lua-02-shared-libs-for-lua.patch @@ -39,7 +39,7 @@ Index: b/src/Makefile -$(LUA_T): $(LUA_O) $(LUA_A) - $(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS) +$(LUA_SO): $(CORE_O) $(LIB_O) -+ $(CC) -o $@.$(PKG_VERSION) -shared -Wl,-soname="$@.$(PKG_VERSION)" $? -nostdlib -lgcc ++ $(CC) -o $@.$(PKG_VERSION) -shared -Wl,-soname="$@.$(PKG_VERSION)" $? + ln -fs $@.$(PKG_VERSION) $@ + +$(LUA_T): $(LUA_O) $(LUA_SO) |