Permalink
Browse files

Merge pull request #105 from Asquera/fixes/gentoo-build

Allow building on Gentoo
  • Loading branch information...
2 parents 9492fa3 + 0516fad commit 561a93b27b81672cc1eebb7a5c6e6891904951aa @kocolosk kocolosk committed Apr 25, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 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

0 comments on commit 561a93b

Please sign in to comment.