kdesignerplugin: really fix cross
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user