summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--vars/build.vars2
1 files changed, 1 insertions, 1 deletions
diff --git a/vars/build.vars b/vars/build.vars
index 355bee51..3aa3a150 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -263,7 +263,7 @@ HOST_TOOLCHAIN_PREFIX="${PREFIX_CROSS}";
: ${PKG_BINUTILS_HOST_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/binutils-${PKG_BINUTILS_HOST_VERSION}.midipix.patch"};
: ${PKG_BINUTILS_HOST_PREFIX:=${PREFIX}};
: ${PKG_BINUTILS_HOST_CFLAGS_CONFIGURE:=-I${PREFIX}/include};
-: ${PKG_BINUTILS_HOST_LDFLAGS_CONFIGURE:=-L${PREFIX}/lib};
+: ${PKG_BINUTILS_HOST_LDFLAGS_CONFIGURE:="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib"};
: ${PKG_GCC_STAGE1_HOST_VERSION:=4.6.4};
: ${PKG_GCC_STAGE1_HOST_BASE_DIR:=${BUILD_WORKDIR}/gcc-host-${DEFAULT_TARGET}};
: ${PKG_GCC_STAGE1_HOST_GITROOT:=${DEFAULT_GITROOT}};