diff options
Diffstat (limited to 'couchjs/c_src/SConscript')
-rw-r--r-- | couchjs/c_src/SConscript | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/couchjs/c_src/SConscript b/couchjs/c_src/SConscript index f61cdf8b..7837be58 100644 --- a/couchjs/c_src/SConscript +++ b/couchjs/c_src/SConscript @@ -20,6 +20,11 @@ def require_lib(name): env = Environment(CCFLAGS='-g -O2 -DXP_UNIX') +if os.uname()[0] == 'SunOS': + env['CC'] = '/usr/sfw/bin/gcc' + env['CCFLAGS'] += ' -I/opt/local/include' + env.Append(LINKFLAGS=['-L/opt/local/lib']) + if os.uname()[0] == 'FreeBSD': env['CCFLAGS'] += ' -I/usr/local/include' env.Append(LINKFLAGS=['-L/usr/local/lib']) |