Allow lib/data detection when cross-compiling

This commit is contained in:
fidomax 2021-01-28 15:15:19 +03:00 committed by GitHub
parent bd961c4da2
commit 4b0d181f6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1728,7 +1728,6 @@ if not preconfigured:
if env['HOST']:
SQLITE_HAS_RTREE = True
if not env['HOST']:
env['QUERIED_PROJ_LIB'] = conf.CheckProjData()
if os.environ.get('PROJ_LIB'):
env['QUERIED_PROJ_LIB'] = os.environ['PROJ_LIB']