1.1 --- a/scripts/crosstool-NG.sh.in Wed May 27 21:07:37 2009 +0000
1.2 +++ b/scripts/crosstool-NG.sh.in Wed May 27 21:08:17 2009 +0000
1.3 @@ -127,6 +127,10 @@
1.4 CT_CC_CORE_STATIC_PREFIX_DIR="${CT_BUILD_DIR}/${CT_CC}-core-static"
1.5 CT_CC_CORE_SHARED_PREFIX_DIR="${CT_BUILD_DIR}/${CT_CC}-core-shared"
1.6
1.7 +# Set LD_LIBRARY_PATH to point to prefix/lib so we can find our own
1.8 +# libraries; add as first path, so we get hit first by the dynamic linker
1.9 +CT_SetLibPath "${CT_PREFIX_DIR}/lib" first
1.10 +
1.11 # We must ensure that we can restart if asked for!
1.12 if [ -n "${CT_RESTART}" -a ! -d "${CT_STATE_DIR}" ]; then
1.13 CT_DoLog ERROR "You asked to restart a non-restartable build"