meson: enable pthread tests if 'real pthread' is available

Fixes #477
This commit is contained in:
Tim-Philipp Müller 2021-05-05 00:15:16 +01:00
parent 187fd83aaa
commit e78a90ed98

View file

@ -517,7 +517,7 @@ build_any2ppm = false
has_multipage_surfaces = false
add_fallback_resolution = false
if conf.get('HAVE_REAL_PTHREAD', 0) == 1
if conf.get('CAIRO_HAS_REAL_PTHREAD', 0) == 1
test_sources += test_pthread_sources
endif