mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Qt5.5 cannot be build in parallel anymore
Automatic symlink creation for Qt frameworks
This commit is contained in:
parent
789ab61442
commit
0f802fde90
@ -387,13 +387,16 @@ if [ "${configure_qt_frameworks}" != "yes" -a -d "${QtSourceDir}" -a ! \( -d "${
|
|||||||
echo configure options:
|
echo configure options:
|
||||||
echo ${QtConfigureOptions} ${ARCHS} -prefix "${QtInstallDir}"
|
echo ${QtConfigureOptions} ${ARCHS} -prefix "${QtInstallDir}"
|
||||||
"${QtSourceDir}"/configure ${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}" && (
|
cd "${QtInstallDir}" && (
|
||||||
mkdir -p include
|
mkdir -p include
|
||||||
cd include
|
cd include
|
||||||
for libnm in ${QtLibraries} ; do
|
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
|
done
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user