webkit2gtk: fix cross
This commit is contained in:
parent
dc1f2ea5ad
commit
85a4d8556e
1 changed files with 8 additions and 0 deletions
|
@ -63,6 +63,14 @@ else
|
|||
configure_args+=" --disable-x11-target"
|
||||
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() {
|
||||
vlicense Source/WebKit/LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue