only build pgsql2sqlite if pg_config is available
This commit is contained in:
parent
e9ad589e13
commit
2e630c5c14
1 changed files with 3 additions and 0 deletions
|
@ -1457,6 +1457,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