From 1f6bacaa18b089061bf35fd0e58215609b93a290 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Sat, 12 Oct 2019 16:57:34 +0000 Subject: 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.) --- vars/build.vars | 1 + vars/python3_host.vars | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'vars') 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; }; -- cgit v1.2.3