meson: Move libspectre to test_deps

libspectre is only used for ps tests. Adding it to "deps" needlessly
makes it show up in cairo.pc's Requires.private.

Fixes: https://gitlab.freedesktop.org/cairo/cairo/-/issues/425
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2021-03-01 14:06:02 +01:00
parent 553c19df16
commit 55a5951742

View file

@ -696,7 +696,7 @@ if feature_conf.get('CAIRO_HAS_PS_SURFACE', 0) == 1
if libspectre_dep.found()
conf.set('CAIRO_HAS_SPECTRE', 1)
deps += [libspectre_dep]
test_deps += [libspectre_dep]
endif
endif