summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--couchjs/c_src/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/couchjs/c_src/SConscript b/couchjs/c_src/SConscript
index da3752bc..451c03d3 100644
--- a/couchjs/c_src/SConscript
+++ b/couchjs/c_src/SConscript
@@ -22,7 +22,8 @@ def require_lib(name):
def runcmd(cmd):
return commands.getstatusoutput(cmd)
-env = Environment(CC="c++", CCFLAGS='-g -O2 -DXP_UNIX')
+env = Environment(CC="c++", CCFLAGS='-g -O2 -DXP_UNIX',
+ CPPPATH=os.getenv("CPPPATH"))
if os.uname()[0] == 'SunOS':
env['CC'] = '/usr/sfw/bin/gcc'