summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--couchjs/c_src/SConscript7
1 files changed, 4 insertions, 3 deletions
diff --git a/couchjs/c_src/SConscript b/couchjs/c_src/SConscript
index 68ad5d3e..3f6a0cc7 100644
--- a/couchjs/c_src/SConscript
+++ b/couchjs/c_src/SConscript
@@ -70,9 +70,10 @@ if not env.GetOption('clean'):
if not conf.CheckLibWithHeader('mozjs185-1.0', jsapi, 'c', autoadd=1):
if not conf.CheckLibWithHeader('mozjs', jsapi, 'c', autoadd=1):
if not conf.CheckLibWithHeader('js', jsapi, 'c', autoadd=1):
- print 'Could not find JS library.', \
- 'Is Mozilla SpiderMonkey installed?'
- Exit(1)
+ if not conf.CheckLibWithHeader('mozjs185', jsapi, 'c', autoadd=1):
+ print 'Could not find JS library.', \
+ 'Is Mozilla SpiderMonkey installed?'
+ Exit(1)
## Detect the version of SpiderMonkey we're using
jsheader = "#include <%s>" % jsapi