Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
Merge pull request #105 from Asquera/fixes/gentoo-build
Browse files Browse the repository at this point in the history
Allow building on Gentoo
  • Loading branch information
kocolosk committed Apr 25, 2012
2 parents 9492fa3 + 0516fad commit 561a93b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions couchjs/c_src/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 561a93b

Please sign in to comment.