diff options
author | Vlad Glagolev | 2012-09-02 18:06:09 +0400 |
---|---|---|
committer | Vlad Glagolev | 2012-09-02 18:06:09 +0400 |
commit | 744bee0d4a4fe3e851361c535b3d7b0543c6853b (patch) | |
tree | 772275575cdd841bdd4bc2db709a92b3a12d2f63 /lua-forge | |
parent | d9a71c9aa22b2dcd65869b9fec54ecc9c2bbb166 (diff) |
lua: dynamically link liblua.so with libdl.so
Diffstat (limited to 'lua-forge')
-rwxr-xr-x | lua-forge/lua/DETAILS | 1 | ||||
-rw-r--r-- | lua-forge/lua/HISTORY | 4 | ||||
-rw-r--r-- | lua-forge/lua/shared.patch | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/lua-forge/lua/DETAILS b/lua-forge/lua/DETAILS index 9f631e3aa0..4234f234bd 100755 --- a/lua-forge/lua/DETAILS +++ b/lua-forge/lua/DETAILS @@ -1,5 +1,6 @@ SPELL=lua VERSION=5.2.1 + PATCHLEVEL=1 SOURCE=$SPELL-$VERSION.tar.gz SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION" SOURCE_URL[0]=http://www.lua.org/ftp/$SOURCE diff --git a/lua-forge/lua/HISTORY b/lua-forge/lua/HISTORY index 438d46e9b9..af1f8daf3d 100644 --- a/lua-forge/lua/HISTORY +++ b/lua-forge/lua/HISTORY @@ -1,3 +1,7 @@ +2012-09-02 Vlad Glagolev <stealth@sourcemage.org> + * DETAILS: PATCHLEVEL=1 + * shared.patch: link with libdl.so + 2012-06-16 Vlad Glagolev <stealth@sourcemage.org> * DETAILS: updated spell to 5.2.1 * lua.pc: updated to 5.2.1 diff --git a/lua-forge/lua/shared.patch b/lua-forge/lua/shared.patch index ec6b091331..fa07115a89 100644 --- a/lua-forge/lua/shared.patch +++ b/lua-forge/lua/shared.patch @@ -17,7 +17,7 @@ $(CC) -o $@ $(LDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS) +$(LUA_SO): $(CORE_O) $(LIB_O) -+ $(CC) -o $@ -shared $(LDFLAGS) $(CORE_O) $(LIB_O) ++ $(CC) -o $@ -shared $(LDFLAGS) $(CORE_O) $(LIB_O) -ldl + clean: $(RM) $(ALL_T) $(ALL_O) |