diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2019-10-12 16:57:34 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2019-10-12 16:57:34 +0000 |
commit | 1f6bacaa18b089061bf35fd0e58215609b93a290 (patch) | |
tree | 35b29177007f940c2cae363378e968277d6e6449 | |
parent | 3adaca1bca8a8d1329507ebd672fa74021b3d93f (diff) | |
download | midipix_build-1f6bacaa18b089061bf35fd0e58215609b93a290.tar.bz2 midipix_build-1f6bacaa18b089061bf35fd0e58215609b93a290.tar.xz |
vars/build.vars:python3_host:${PKG_ENV_VARS_EXTRA}: build w/ NATIVE_LDFLAGS=-Wl,-rpath,${PREFIX}/lib (via midipix.)
vars/python3_host.vars: don't set ${LD_LIBRARY_PATH} (via midipix.)
-rw-r--r-- | vars/build.vars | 1 | ||||
-rw-r--r-- | vars/python3_host.vars | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/vars/build.vars b/vars/build.vars index 979554e2..88d561fb 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -640,6 +640,7 @@ HOST_PACKAGES_DEPS_PREFIX="${PREFIX}"; : ${PKG_PYTHON3_HOST_BUILD_DIR:=build/python3}; : ${PKG_PYTHON3_HOST_CONFIGURE:=build/sbpython3/configure}; : ${PKG_PYTHON3_HOST_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON3_HOST_VERSION} --prefix=${PREFIX}"}; +: ${PKG_PYTHON3_HOST_ENV_VARS_EXTRA:="NATIVE_LDFLAGS=-Wl,-rpath,${PREFIX}/lib"}; : ${PKG_PYTHON3_HOST_MAKEFLAGS_INSTALL_EXTRA:="PREFIX= EXEC_PREFIX= BINDIR=/bin SBINDIR=/sbin LIBDIR=/lib INCLUDEDIR=/include OLDINCLUDEDIR=/include MANDIR=/share/man DOCDIR=/share/doc LIBEXECDIR=/libexec"}; : ${PKG_PYTHON3_HOST_SUBDIR:=Python-${PKG_PYTHON3_HOST_VERSION}}; : ${PKG_RUBY_HOST_SHA256SUM:=ba5ba60e5f1aa21b4ef8e9bf35b9ddb57286cb546aac4b5a28c71f459467e507}; diff --git a/vars/python3_host.vars b/vars/python3_host.vars index 35e018e4..302d1480 100644 --- a/vars/python3_host.vars +++ b/vars/python3_host.vars @@ -10,7 +10,6 @@ pkg_python3_host_fetch_download() { sed -i"" -e"s/-ltinfo/&w/" -e"s/mb_ncurses_libs='\([^']\+\)'/mb_ncurses_libs='\1 -ltinfow'/" ../sbpython3/project/config/cfgdefs.sh; sed -i"" -e'108a\ cfgtest_ldflags_append "-L$mb_prefix/lib"' ../sbpython3/project/config/cfgdefs.sh; - export LD_LIBRARY_PATH="${PKG_PREFIX}/lib"; ex_pkg_state_set "${PKG_NAME}" fetch_download -fetch_extract; }; |