mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-06 09:40:19 +01:00
meson: always skip IPC_RMID_DEFERRED_RELEASE check when cross-compiling
../../br-test-pkg/bootlin-armv5-uclibc/build/cairo-1.17.4/meson.build:279:13: ERROR: Can not run test applications in this cross environment. Commit1bec56ea8aadded support to define ipc_rmid_deferred_release in a cross-compile config, but still kept the default to auto, which anyhow results in an error when cross-compiling. There is only one usage of the ipc_rmid_deferred_release compile declarative which was originally added in this commit:5041b462d0. If ipc_rmid_deferred_release is set to FALSE, an additional XSync is performed. This doesn't sound very harmful, so that is why this commit defaults to FALSE and thus avoids any cross-compile errors. Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
This commit is contained in:
parent
586c8acacd
commit
8d5037ed64
1 changed files with 1 additions and 1 deletions
|
|
@ -369,7 +369,7 @@ if x11_dep.found() and xext_dep.found()
|
|||
|
||||
# Can skip the run check by providing the result in a cross file or
|
||||
# native file as bool property value.
|
||||
prop = meson.get_external_property('ipc_rmid_deferred_release', 'auto')
|
||||
prop = meson.get_external_property('ipc_rmid_deferred_release', meson.is_cross_build() ? 'false' : 'auto')
|
||||
# We don't know the type of prop (bool, string) but need to differentiate
|
||||
# between a set value (bool) or the fallback value (string), so convert to
|
||||
# a string and check the string value.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue