# HG changeset patch # User "Yann E. MORIN" # Date 1243458497 0 # Node ID 8b36ebce12cff1fea0818ea0da2d1379139a6aaa # Parent 3c28b9f917d29dcb55df1eca830ddfe6e2e61ca1 /devel/gcc-4.4: - crosstool-NG.sh.in: include prefix/lib in LD_LIBRARY_PATH -------- diffstat follows -------- /devel/gcc-4.4/scripts/crosstool-NG.sh.in | 4 4 0 0 ++++ 1 file changed, 4 insertions(+) diff -r 3c28b9f917d2 -r 8b36ebce12cf scripts/crosstool-NG.sh.in --- a/scripts/crosstool-NG.sh.in Wed May 27 21:07:37 2009 +0000 +++ b/scripts/crosstool-NG.sh.in Wed May 27 21:08:17 2009 +0000 @@ -127,6 +127,10 @@ CT_CC_CORE_STATIC_PREFIX_DIR="${CT_BUILD_DIR}/${CT_CC}-core-static" CT_CC_CORE_SHARED_PREFIX_DIR="${CT_BUILD_DIR}/${CT_CC}-core-shared" +# Set LD_LIBRARY_PATH to point to prefix/lib so we can find our own +# libraries; add as first path, so we get hit first by the dynamic linker +CT_SetLibPath "${CT_PREFIX_DIR}/lib" first + # We must ensure that we can restart if asked for! if [ -n "${CT_RESTART}" -a ! -d "${CT_STATE_DIR}" ]; then CT_DoLog ERROR "You asked to restart a non-restartable build"