From 4ae5ff5fd8f09d67a0cf6ca7952e62454e68f390 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 30 Aug 2009 00:57:40 +0200 Subject: tools wrapper: introduce the silent WRAPPER_NEEDED config option Add the WRAPPER_NEEDED silent config option, that can be selected by components that require it (companion libs so far). Rely on this config option when deciding to install the wrapper, instead of checking GMP/MPFR or PPL/CLoog/MPC. --- scripts/build/internals.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/build') diff --git a/scripts/build/internals.sh b/scripts/build/internals.sh index cf869a1a..7837f00b 100644 --- a/scripts/build/internals.sh +++ b/scripts/build/internals.sh @@ -41,8 +41,7 @@ do_finish() { # If using the companion libraries, we need a wrapper # that will set LD_LIBRARY_PATH approriately - if [ "${CT_GMP_MPFR}" = "y" \ - -o "${CT_PPL_CLOOG_MPC}" = "y" ]; then + if [ "${CT_WRAPPER_NEEDED}" = "y" ]; then CT_DoLog EXTRA "Installing toolchain wrappers" CT_Pushd "${CT_PREFIX_DIR}/bin" -- cgit v1.2.3