summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars')
-rw-r--r--vars/build.vars1
-rw-r--r--vars/python3_host.vars1
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;
};