[Lunar-commits] <moonbase-other> oolite: fix problem with spidermonkey installed
v4hn
me at v4hn.de
Sun Nov 10 00:54:49 CET 2013
commit 1c866b4558cb6dffe74d2b91dde4256a7c6487d9
Author: v4hn <me at v4hn.de>
Date: Sat, 09 Nov 2013 15:33:30 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/1c866b4558cb6dffe74d2b91dde4256a7c6487d9
oolite: fix problem with spidermonkey installed
---
games/oolite/PRE_BUILD | +4/-1
1 file changed, 4 insertions(+), 1 deletion(-)
--- a/games/oolite/PRE_BUILD
+++ b/games/oolite/PRE_BUILD
@@ -8,4 +8,7 @@ echo 'http://jens.ayton.se/oolite/deps/firefox-4.0.source.js-only.tbz' > mozilla
cd $SOURCE_DIRECTORY &&
-sedit "/NO_RETURN_FUNC/ d" src/Core/Materials/OOPNGTextureLoader.m
+sedit "/NO_RETURN_FUNC/ d" src/Core/Materials/OOPNGTextureLoader.m &&
+
+# fix library order to use correct js library
+sedit 's:-L/usr/X11R6/lib/ -L$(LIBJS_LIB_DIR):-L$(LIBJS_LIB_DIR) -L/usr/X11R6/lib/:' GNUmakefile
More information about the Lunar-commits
mailing list