Qt5.5 cannot be build in parallel anymore

Automatic symlink creation for Qt frameworks
This commit is contained in:
Stephan Witt 2015-07-08 18:01:05 +02:00
parent 789ab61442
commit 0f802fde90

View File

@ -387,13 +387,16 @@ if [ "${configure_qt_frameworks}" != "yes" -a -d "${QtSourceDir}" -a ! \( -d "${
echo configure options:
echo ${QtConfigureOptions} ${ARCHS} -prefix "${QtInstallDir}"
"${QtSourceDir}"/configure ${QtConfigureOptions} ${ARCHS} -prefix "${QtInstallDir}"
make ${MAKEJOBS} && make install
make -j1 && make -j1 install
)
fi
if [ -d "${QtInstallDir}" -a ! -f "${QtInstallDir}"/include/QtCore ]; then
cd "${QtInstallDir}" && (
mkdir -p include
cd include
for libnm in ${QtLibraries} ; do
test -d ${libnm} -o -L ${libnm} || ln -s ../lib/${libnm}.framework/Headers ${libnm}
test -d ${libnm} -o -L ${libnm} || \
( ln -s ../lib/${libnm}.framework/Headers ${libnm} && echo Link to framework ${libnm} )
done
)
fi