fix handling of the defines of optional deps when cross-compiling
This commit is contained in:
parent
0ac9c7f4c9
commit
a4c79fc6fe
1 changed files with 9 additions and 9 deletions
|
@ -1327,8 +1327,8 @@ if not preconfigured:
|
||||||
else:
|
else:
|
||||||
env['SKIPPED_DEPS'].append('boost_regex_icu')
|
env['SKIPPED_DEPS'].append('boost_regex_icu')
|
||||||
|
|
||||||
if not env['HOST']:
|
|
||||||
for libname, headers, required, lang, define in OPTIONAL_LIBSHEADERS:
|
for libname, headers, required, lang, define in OPTIONAL_LIBSHEADERS:
|
||||||
|
if not env['HOST']:
|
||||||
if not conf.CheckLibWithHeader(libname, headers, lang):
|
if not conf.CheckLibWithHeader(libname, headers, lang):
|
||||||
if required:
|
if required:
|
||||||
color_print(1, 'Could not find required header or shared library for %s' % libname)
|
color_print(1, 'Could not find required header or shared library for %s' % libname)
|
||||||
|
|
Loading…
Reference in a new issue