Lines 150-155
switch_profile() {
Link Here
|
150 |
rm -rf "${ROOT}/${BINPATH_LINKS}"/ldscripts |
150 |
rm -rf "${ROOT}/${BINPATH_LINKS}"/ldscripts |
151 |
atomic_ln "${LIBPATH}/ldscripts" "${dstlib}" "ldscripts" |
151 |
atomic_ln "${LIBPATH}/ldscripts" "${dstlib}" "ldscripts" |
152 |
find -L "${dstlib}" -xtype l -name 'lib*' -exec rm -f {} + |
152 |
find -L "${dstlib}" -xtype l -name 'lib*' -exec rm -f {} + |
|
|
153 |
if [[ ${TARGET} != ${HOST} ]] ; then |
154 |
for x in lib* ; do |
155 |
atomic_ln "${LIBPATH}/${x}" "${dstlib}" "${x}" |
156 |
done |
157 |
fi |
153 |
|
158 |
|
154 |
# |
159 |
# |
155 |
# Clean out old generated include symlinks |
160 |
# Clean out old generated include symlinks |