diff options
Diffstat (limited to 'scripts/crosstool-NG.sh.in')
-rw-r--r-- | scripts/crosstool-NG.sh.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in index 471e3e0..020d8d8 100644 --- a/scripts/crosstool-NG.sh.in +++ b/scripts/crosstool-NG.sh.in @@ -150,6 +150,11 @@ CT_SRC_DIR="${CT_WORK_DIR}/src" CT_BUILD_DIR="${CT_WORK_DIR}/${CT_TARGET}/build" 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}" +else + CT_COMPLIBS_DIR="${CT_BUILD_DIR}/static" +fi # Note: we'll always install the core compiler in its own directory, so as to # not mix the two builds: core and final. |