Makefile.am: Compile vala unstable tests with SECRET_WITH_UNSTABLE=1.

Without this the generated C code compiles without the correct header (warnings
are disabled so this is not obvious). This was causing the test to crash on
Ubuntu (exact cause not diagnosed).

https://bugzilla.gnome.org/show_bug.cgi?id=767002
This commit is contained in:
Robert Ancell 2016-05-30 12:18:40 +12:00 committed by Stef Walter
parent 3d4ed965fd
commit f59f2b6a82

View File

@ -282,7 +282,7 @@ SUFFIXES = .vala .vala.o
test-vala-lang.vala.o: libsecret/test-vala-lang.vala $(VALA_TESTS_VAPIS)
$(VALA_V) $(VALAC) --compile $(VALA_TESTS_FLAGS) $<
test-vala-unstable.vala.o: libsecret/test-vala-unstable.vala $(VALA_TESTS_VAPIS)
$(VALA_V) $(VALAC) --compile $(VALA_TESTS_FLAGS) $<
$(VALA_V) $(VALAC) --compile --Xcc=-DSECRET_WITH_UNSTABLE=1 $(VALA_TESTS_FLAGS) $<
test_vala_lang_SOURCES =
test_vala_lang_LDADD = \