Skip to content

Commit

Permalink
build: Fix failure on some systems
Browse files Browse the repository at this point in the history
The problem may have been related to Python 3.

Change-Id: I675d6837273442a1443adeee2182c8aace611e52
  • Loading branch information
cawka committed Mar 11, 2018
1 parent afad459 commit e932a21
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions wscript
Expand Up @@ -23,12 +23,8 @@ def configure(conf):

conf.env['ENABLE_NDNSIM']=False

if not os.environ.has_key('PKG_CONFIG_PATH'):
os.environ['PKG_CONFIG_PATH'] = ':'.join([
'/usr/local/lib/pkgconfig',
'/usr/local/lib64/pkgconfig',
'/usr/local/lib32/pkgconfig',
'/opt/local/lib/pkgconfig'])
if 'PKG_CONFIG_PATH' not in os.environ:
os.environ['PKG_CONFIG_PATH'] = Utils.subst_vars('${LIBDIR}/pkgconfig', conf.env)

conf.check_cxx(lib='pthread', uselib_store='PTHREAD', define_name='HAVE_PTHREAD', mandatory=False)
conf.check_sqlite3(mandatory=True)
Expand Down

0 comments on commit e932a21

Please sign in to comment.