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"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
post_configure() {
|
||||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue