Skip to content

Instantly share code, notes, and snippets.

Created July 5, 2011 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1064953 to your computer and use it in GitHub Desktop.
Save anonymous/1064953 to your computer and use it in GitHub Desktop.
--- SConstruct.original 2011-07-05 14:23:46.334748007 +0000
+++ SConstruct 2011-07-05 14:26:15.729533840 +0000
@@ -208,6 +208,9 @@
justClientLib = (COMMAND_LINE_TARGETS == ['mongoclient'])
env = Environment( MSVS_ARCH=msarch , tools = ["default", "gch"], toolpath = '.' )
+
+env.ParseConfig('pkg-config --cflags --libs mozjs185')
+
if has_option( "cxx" ):
env["CC"] = get_option( "cxx" )
env["CXX"] = get_option( "cxx" )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment