only build pgsql2sqlite if pg_config is available
This commit is contained in:
parent
ae3f682564
commit
32d053abf6
1 changed files with 3 additions and 0 deletions
|
@ -1449,6 +1449,9 @@ if not preconfigured:
|
|||
env.AppendUnique(LIBS='sqlite3')
|
||||
env.AppendUnique(CPPPATH = os.path.realpath(env['SQLITE_INCLUDES']))
|
||||
env.AppendUnique(LIBPATH = os.path.realpath(env['SQLITE_LIBS']))
|
||||
if 'pq' not in env['LIBS']:
|
||||
if not conf.parse_pg_config('PG_CONFIG'):
|
||||
env['PGSQL2SQLITE'] = False
|
||||
if not SQLITE_HAS_RTREE:
|
||||
env['SKIPPED_DEPS'].append('pgsql2sqlite_rtree')
|
||||
env['PGSQL2SQLITE'] = False
|
||||
|
|
Loading…
Reference in a new issue