fix XMLPARSER=libxml2 logic
This commit is contained in:
parent
362a2ee0b1
commit
56712c2435
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,8 @@ if '-DHAVE_WEBP' in env['CPPDEFINES']:
|
|||
lib_env['LIBS'].append('webp')
|
||||
enabled_imaging_libraries.append('webp_reader.cpp')
|
||||
|
||||
if '-DHAVE_LIBXML2' in env['CPPDEFINES'] : lib_env['LIBS'].append('xml2')
|
||||
if env['XMLPARSER'] == 'libxml2' and env['HAS_LIBXML2']:
|
||||
lib_env['LIBS'].append('xml2')
|
||||
|
||||
if '-DBOOST_REGEX_HAS_ICU' in env['CPPDEFINES']:
|
||||
lib_env['LIBS'].append('icui18n')
|
||||
|
|
Loading…
Reference in a new issue