dev-python/lxml: fix bug in cross-compilation patch(es)

This commit is contained in:
Dirkjan Ochtman
2016-03-17 21:49:15 +01:00
parent 9f9eeeda63
commit 7d94eb446e
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ use pkg-config to find libxml2/libxslt details rather than xxx-config scripts
- xslt_flags = run_command(find_xslt_config(), "--%s" % option)
+ pkg_config = os.environ.get('PKG_CONFIG', 'pkg-config')
+ xml2_flags = run_command(pkg_config, 'libxml-2.0', '--%s' % option)
+ xslt_flags = run_command(pkg_config, 'libxxlt', '--%s' % option)
+ xslt_flags = run_command(pkg_config, 'libxslt', '--%s' % option)
flag_list = xml2_flags.split()
for flag in xslt_flags.split():

View File

@@ -33,7 +33,7 @@ index e04c38f..0549eaa 100644
- xslt_flags = run_command(find_xslt_config(), "--%s" % option)
+ pkg_config = os.environ.get('PKG_CONFIG', 'pkg-config')
+ xml2_flags = run_command(pkg_config, 'libxml-2.0', '--%s' % option)
+ xslt_flags = run_command(pkg_config, 'libxxlt', '--%s' % option)
+ xslt_flags = run_command(pkg_config, 'libxslt', '--%s' % option)
flag_list = xml2_flags.split()
for flag in xslt_flags.split():