Skip to content

Instantly share code, notes, and snippets.

@KlausTrainer
Created August 31, 2010 07:52
Show Gist options
  • Save KlausTrainer/558695 to your computer and use it in GitHub Desktop.
Save KlausTrainer/558695 to your computer and use it in GitHub Desktop.
diff --git a/couchjs/c_src/SConscript b/couchjs/c_src/SConscript
index 757e028..0693f60 100644
--- a/couchjs/c_src/SConscript
+++ b/couchjs/c_src/SConscript
@@ -17,7 +17,10 @@ def require_lib(name):
print 'Could not find required library', name
Exit(1)
-env = Environment(CCFLAGS='-g -O2 -DXP_UNIX')
+env = Environment(CCFLAGS='-g -O2 -DXP_UNIX',
+ LIBPATH=['/usr/lib/xulrunner-1.9.2.8'],
+ CPPPATH=['/usr/lib/xulrunner-devel-1.9.2.8/include'])
+
if not env.GetOption('clean'):
conf = Configure(env, config_h='config.h')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment