Permalink
Browse files

Also adjust linkage on mac

  • Loading branch information...
1 parent afc009a commit 51e6f269e490929256829bb9d17934c4d93828a7 @brson brson committed Sep 7, 2012
Showing with 1 addition and 4 deletions.
  1. +0 −3 js.rs
  2. +1 −1 linkhack.rs
View
3 js.rs
@@ -66,9 +66,6 @@ export JSVAL_ONE;
export JSVAL_FALSE;
export JSVAL_TRUE;
-/* Look in this directory for spidermonkey */
-extern mod m { }
-
// FIXME: Add the remaining options
const JSOPTION_STRICT: uint32_t = 0b00000000000001u32;
const JSOPTION_WERROR: uint32_t = 0b00000000000010u32;
View
@@ -6,6 +6,6 @@
extern mod m { }
#[cfg(target_os = "macos")]
-#[link_args = "-L. -lstdc++ -lz"]
+#[link_args = "-L. -ljs_static -lstdc++ -lz"]
#[nolink]
extern mod m { }

0 comments on commit 51e6f26

Please sign in to comment.