Skip to content

Commit

Permalink
restore LIBS after checking for gcov
Browse files Browse the repository at this point in the history
  • Loading branch information
pquerna committed Jun 6, 2014
1 parent e0cbe3d commit 5fd301a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SConstruct
Expand Up @@ -117,7 +117,9 @@ if conf.env['WANT_OPENSSL']:
print 'Unable to use OpenSSL development enviroment (missing libcrypto?): with_openssl=%s' % conf.env.get('with_openssl')
Exit(-1)

old = conf.env['LIBS']
conf.env['HAVE_LIB_GCOV'] = conf.CheckLib('gcov')
conf.env['LIBS'] = old

conf.env['HAVE_OSX_COMMONCRYPTO'] = conf.CheckLibWithHeader('libSystem', 'CommonCrypto/CommonDigest.h', 'C', 'CC_SHA1_CTX ctx; CC_SHA1_Init(&ctx);', True)
if conf.env['HAVE_OSX_COMMONCRYPTO']:
Expand Down

0 comments on commit 5fd301a

Please sign in to comment.