mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 04:38:55 +00:00
Don't try to build test-vala-lang if !HAVE_INTROSPECTION or !ENABLE_VAPIGEN
* libsecret-@SECRET_MAJOR@.vapi is built only with those 2 defines and these were not checked before depending that target for the test case Found during jhbuild run
This commit is contained in:
parent
5ecab6d33b
commit
8339f296e8
@ -75,10 +75,16 @@ VALA_V = $(VALA_V_$(V))
|
||||
VALA_V_ = $(VALA_V_$(AM_DEFAULT_VERBOSITY))
|
||||
VALA_V_0 = @echo " VALAC " $^;
|
||||
|
||||
if HAVE_INTROSPECTION
|
||||
if ENABLE_VAPIGEN
|
||||
|
||||
VALA_TESTS = \
|
||||
test-vala-lang \
|
||||
$(NULL)
|
||||
|
||||
endif
|
||||
endif
|
||||
|
||||
test-vala-lang.c: test-vala-lang.vala libsecret-@SECRET_MAJOR@.vapi mock-service-0.vapi
|
||||
$(VALA_V)$(VALAC) -C --pkg gio-2.0 $^
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user