kdesignerplugin: really fix cross
This commit is contained in:
parent
da926218d5
commit
27c9d80299
1 changed files with 4 additions and 2 deletions
|
@ -18,9 +18,11 @@ if [ -n "$CROSS_BUILD" ]; then
|
||||||
configure_args+=" -DMEINPROC5_EXECUTABLE=/usr/bin/meinproc5"
|
configure_args+=" -DMEINPROC5_EXECUTABLE=/usr/bin/meinproc5"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
post_configure() {
|
||||||
if [ -n "$CROSS_BUILD" ]; then
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
sed -i KF5DesignerPluginConfig.cmake -e "s;KF5::;/usr/bin/;"
|
# Hack to use host's kgendesignerplugin
|
||||||
|
find build/src/CMakeFiles -name "*.make" -exec sed -i "{}" \
|
||||||
|
-e "s;KF5::\(kgendesignerplugin\);/usr/bin/\1;" \;
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue