Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix Build for Gentoo

Modify SConscript so that it recognizes the standard name for the
mozjs/spidermonkey lib on gentoo.
  • Loading branch information...
commit 0516fad28fdae35218ceb0d0d48be086ebad8e95 1 parent 9492fa3
@Xylakant Xylakant authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 couchjs/c_src/SConscript
View
7 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
Please sign in to comment.
Something went wrong with that request. Please try again.