Merge branch 'cherry-pick-42d8e177' into 'glib-2-62'

[2.62] Always build tests if we enabled installed-tests

See merge request GNOME/glib!1141
This commit is contained in:
Philip Withnall
2019-10-02 15:55:30 +00:00
4 changed files with 3 additions and 8 deletions

View File

@@ -1009,8 +1009,6 @@ if enable_systemtap
endif
subdir('fam')
# Dont build the tests unless we can run them (either natively or in an exe wrapper)
build_tests = not meson.is_cross_build() or (meson.is_cross_build() and meson.has_exe_wrapper())
if build_tests
subdir('tests')
endif