webkit2gtk: build style cmake handles -isystem

This commit is contained in:
Jürgen Buchmüller 2017-01-15 12:33:11 +01:00
parent ec09669b96
commit afaf31bdc3

View file

@ -63,14 +63,6 @@ else
configure_args+=" --disable-x11-target" configure_args+=" --disable-x11-target"
fi fi
post_configure() {
if [ -n "$CROSS_BUILD" ]; then
# Fix -isystem issue for cross (See: https://bugs.webkit.org/show_bug.cgi?id=161697)
find -name flags.make -exec sed -i "{}" \
-e "s;-isystem ${XBPS_CROSS_BASE}/usr/include ;;g" \;
fi
}
post_install() { post_install() {
vlicense Source/WebKit/LICENSE vlicense Source/WebKit/LICENSE
} }