Skip to content

Commit

Permalink
dev-python/lxml: fix bug in cross-compilation patch(es)
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Mar 17, 2016
1 parent 9f9eeed commit 7d94eb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev-python/lxml/files/lxml-3.4.4-cross-compile.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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():
2 changes: 1 addition & 1 deletion dev-python/lxml/files/lxml-3.5.0-cross-compile.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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():

0 comments on commit 7d94eb4

Please sign in to comment.