diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-04-06 20:30:57 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-04-06 20:30:57 (GMT) |
commit | 5e27ad1e5aabdbc0633c380c4ab2959b34a55134 (patch) | |
tree | 9da9e865e952682520d5d227d615755baf75595d /scripts/crosstool-NG.sh.in | |
parent | 177a2b029c545624f09e7e704bb5a6ec7db086b6 (diff) |
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" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts/crosstool-NG.sh.in')
-rw-r--r-- | scripts/crosstool-NG.sh.in | 9 |
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 |