webkit2gtk: Try to fix cross building for arm*
This commit is contained in:
parent
fd3e098a2b
commit
ece3964439
@ -29,6 +29,11 @@ build_options="gir wayland x11"
|
|||||||
build_options_default="wayland x11"
|
build_options_default="wayland x11"
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
build_options_default+=" gir"
|
build_options_default+=" gir"
|
||||||
|
else
|
||||||
|
# Make cmake detect Ruby headers in cross base
|
||||||
|
configure_args+=" -DRUBY_CONFIG_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include/ruby-2.2.0"
|
||||||
|
# Fix non-working target CPU detection
|
||||||
|
configure_args+=" -DCMAKE_SYSTEM_PROCESSOR=${XBPS_TARGET_MACHINE%-musl}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$build_option_gir" ]; then
|
if [ "$build_option_gir" ]; then
|
||||||
@ -36,6 +41,7 @@ if [ "$build_option_gir" ]; then
|
|||||||
hostmakedepends+=" gobject-introspection"
|
hostmakedepends+=" gobject-introspection"
|
||||||
else
|
else
|
||||||
configure_args+=" --disable-introspection"
|
configure_args+=" --disable-introspection"
|
||||||
|
configure_args+=" -DENABLE_INTROSPECTION=0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$build_option_wayland" ]; then
|
if [ "$build_option_wayland" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user