Allow to check dlfcn when cross-compiling

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

View file

@ -1549,7 +1549,6 @@ if not preconfigured:
else: else:
env['MISSING_DEPS'].append('libxml2') env['MISSING_DEPS'].append('libxml2')
if not env['HOST']:
if conf.CheckHasDlfcn(): if conf.CheckHasDlfcn():
env.Append(CPPDEFINES = '-DMAPNIK_HAS_DLCFN') env.Append(CPPDEFINES = '-DMAPNIK_HAS_DLCFN')
else: else: