0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 05:08:56 +00:00
termux-packages/x11-packages/qt5-qtdeclarative/postinst
2022-04-18 14:50:30 +05:30

13 lines
404 B
Bash
Executable File

#!@TERMUX_PREFIX@/bin/sh
PREFIX="@TERMUX_PREFIX@"
if [ `uname -o` = 'Android' ]; then
echo "Patching Qt installation configuration files ..."
## Make sure the cmake configurations point to the on-device programs instead of the host tools
sed -i \
's|install_prefix}/opt/qt/cross/|install_prefix}/|g' \
"${PREFIX}/lib/cmake/Qt5QuickCompiler/Qt5QuickCompilerConfig.cmake"
fi