1.1 --- a/scripts/crosstool-NG.sh.in Wed Mar 17 00:21:57 2010 +0100
1.2 +++ b/scripts/crosstool-NG.sh.in Sun Apr 11 11:10:06 2010 +0200
1.3 @@ -150,6 +150,11 @@
1.4 CT_BUILD_DIR="${CT_WORK_DIR}/${CT_TARGET}/build"
1.5 CT_STATE_DIR="${CT_WORK_DIR}/${CT_TARGET}/state"
1.6 CT_CONFIG_DIR="${CT_BUILD_DIR}/configs"
1.7 +if [ "${CT_COMPLIBS_SHARED}" = "y" ]; then
1.8 + CT_COMPLIBS_DIR="${CT_PREFIX_DIR}"
1.9 +else
1.10 + CT_COMPLIBS_DIR="${CT_BUILD_DIR}/static"
1.11 +fi
1.12
1.13 # Note: we'll always install the core compiler in its own directory, so as to
1.14 # not mix the two builds: core and final.