webkit2gtk: fix detection of ruby on cross
This commit is contained in:
parent
1367351ea8
commit
400f689a58
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ if [ -z "$CROSS_BUILD" ]; then
|
|||
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"
|
||||
configure_args+=" -DRUBY_VERSION=2.4 -DRUBY_CONFIG_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include/ruby-2.4.0"
|
||||
# Fix non-working target CPU detection
|
||||
configure_args+=" -DCMAKE_SYSTEM_PROCESSOR=${XBPS_TARGET_MACHINE%-musl}"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue