summaryrefslogtreecommitdiff
path: root/scripts/crosstool-NG.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/crosstool-NG.sh.in')
-rw-r--r--scripts/crosstool-NG.sh.in9
1 files changed, 1 insertions, 8 deletions
diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in
index e74a635..a3869c1 100644
--- a/scripts/crosstool-NG.sh.in
+++ b/scripts/crosstool-NG.sh.in
@@ -158,14 +158,7 @@ CT_BUILD_DIR="${CT_WORK_DIR}/${CT_TARGET}/build"
CT_BUILDTOOLS_PREFIX_DIR="${CT_WORK_DIR}/${CT_TARGET}/buildtools"
CT_STATE_DIR="${CT_WORK_DIR}/${CT_TARGET}/state"
CT_CONFIG_DIR="${CT_BUILD_DIR}/configs"
-if [ "${CT_COMPLIBS_SHARED}" = "y" ]; then
- CT_COMPLIBS_DIR="${CT_PREFIX_DIR}"
- # 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_COMPLIBS_DIR}/lib" first
-else
- CT_COMPLIBS_DIR="${CT_BUILD_DIR}/static"
-fi
+CT_COMPLIBS_DIR="${CT_BUILD_DIR}/static"
# Compute test suite install directory
CT_TEST_SUITE_DIR=${CT_INSTALL_DIR}/test-suite