Permalink
Browse files

oolite: fix problem with spidermonkey installed

  • Loading branch information...
1 parent 979b938 commit 1c866b4558cb6dffe74d2b91dde4256a7c6487d9 @v4hn v4hn committed Nov 9, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 games/oolite/PRE_BUILD
View
@@ -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

0 comments on commit 1c866b4

Please sign in to comment.