From b499d70b71c604d9ce926dd7b8be3217695ec88f Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 23 Mar 2017 22:47:30 +0100 Subject: [PATCH] net-www/inox: fix build when python3 is eclected --- packages/net-www/exlibs/inox.exlib | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/net-www/exlibs/inox.exlib b/packages/net-www/exlibs/inox.exlib index 72e01e7..9d86348 100644 --- a/packages/net-www/exlibs/inox.exlib +++ b/packages/net-www/exlibs/inox.exlib @@ -307,14 +307,6 @@ inox_src_prepare() { # TODO: package re2 keeplibs+=( third_party/re2 ) - # remove some of the bundled libraries - edo build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove - - # TODO: Find out how to properly do this for GN and/or report upstream - edo sed \ - -e "s:pkg_config = \"\":pkg_config = \"$(exhost --tool-prefix)pkg-config\":g" \ - -i build/config/linux/pkg_config.gni - # TODO: Find out how to properly do this for GN and/or report upstream # Fix this for multiarch by adding appropriate symlinks here and adding this directory to # the PATH @@ -334,6 +326,14 @@ inox_src_prepare() { # and, they assume python is python2! edo ln -s /usr/host/bin/python2 ${dir}/python export PATH="${dir}:${PATH}" + + # remove some of the bundled libraries + edo build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove + + # TODO: Find out how to properly do this for GN and/or report upstream + edo sed \ + -e "s:pkg_config = \"\":pkg_config = \"$(exhost --tool-prefix)pkg-config\":g" \ + -i build/config/linux/pkg_config.gni } inox_src_configure() {