/devel/gcc-4.4: gcc-4.4
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed May 27 21:08:17 2009 +0000 (2009-05-27)
branchgcc-4.4
changeset 13928b36ebce12cf
parent 1391 3c28b9f917d2
child 1393 b432bd628b10
/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(+)
scripts/crosstool-NG.sh.in
     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"