diff options
author | Remko van der Vossen | 2014-07-07 04:00:18 +0900 |
---|---|---|
committer | Remko van der Vossen | 2014-07-07 04:00:18 +0900 |
commit | ace693c70f6dc71d61c41eccf1c401bc0c90911e (patch) | |
tree | a644318d147b72cd3715dc0d810bd6b47d9acaeb /lua-forge | |
parent | c4580c58db9ed81db2d20d3794fc6a41bf9b54ad (diff) |
lua: link liblua.so with libm.so
Diffstat (limited to 'lua-forge')
-rw-r--r-- | lua-forge/lua/HISTORY | 3 | ||||
-rw-r--r-- | lua-forge/lua/shared.patch | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lua-forge/lua/HISTORY b/lua-forge/lua/HISTORY index 9ebdb3eccc..dbfcdc88b2 100644 --- a/lua-forge/lua/HISTORY +++ b/lua-forge/lua/HISTORY @@ -1,3 +1,6 @@ +2014-07-06 Remko van der Vossen <wich@sourcemage.org> + * shared.patch: link with libm.so + 2013-12-10 Vlad Glagolev <stealth@sourcemage.org> * DETAILS: updated spell to 5.2.3 diff --git a/lua-forge/lua/shared.patch b/lua-forge/lua/shared.patch index fa07115a89..0945e01987 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) -ldl ++ $(CC) -o $@ -shared $(LDFLAGS) $(CORE_O) $(LIB_O) -lm -ldl + clean: $(RM) $(ALL_T) $(ALL_O) |