build: Enable cairo-sphinx only if we have SysV's SHM

Otherwise the build fails on Android when enabling the tee surface.
This commit is contained in:
Emmanuele Bassi 2023-08-17 19:09:09 +01:00
parent 77cdde124a
commit 98e9a40985

View file

@ -24,6 +24,7 @@ endif
if (glib_dep.found() and
png_dep.found() and
have_shm and
host_machine.system() != 'windows' and
conf.get('CAIRO_HAS_DLSYM', 0) == 1 and
feature_conf.get('CAIRO_HAS_SCRIPT_SURFACE', 0) == 1 and