From 5e27ad1e5aabdbc0633c380c4ab2959b34a55134 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 6 Apr 2011 22:30:57 +0200 Subject: complibs: disable building shared libs Managing the shared version of the companion libraries has become cumbersome. Also, it will one day be possible to use the companion libraries from the host distribution, and then we will be able to easily use either shared or static libs. As a side note, while working on the canadian-rework series, it has become quite more complex to properly handle shared companion libraries, as they need to be built both for the build and gost systems. That's not easy to handle. At all. Signed-off-by: "Yann E. MORIN" --- scripts/crosstool-NG.sh.in | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'scripts/crosstool-NG.sh.in') diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in index e74a635f..a3869c15 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 -- cgit v1.2.3