diff options
author | Adam Kocoloski <adam@cloudant.com> | 2012-04-25 06:27:56 -0700 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2012-04-25 06:27:56 -0700 |
commit | 561a93b27b81672cc1eebb7a5c6e6891904951aa (patch) | |
tree | f44b3a090b79ea142a747782db6c97a5e0d023db | |
parent | 9492fa303fbc7c664b4b8b335e345f2d53d08b27 (diff) | |
parent | 0516fad28fdae35218ceb0d0d48be086ebad8e95 (diff) |
Merge pull request #105 from Asquera/fixes/gentoo-build
Allow building on Gentoo
-rw-r--r-- | couchjs/c_src/SConscript | 7 |
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 |