Build Vala tests with -fPIC

Fixes a build failure in the tests in the Fedora package.

https://bugzilla.gnome.org/show_bug.cgi?id=777826
https://bugzilla.redhat.com/show_bug.cgi?id=1416818
This commit is contained in:
David King 2017-01-27 08:43:09 +00:00 committed by Stef Walter
parent b9fbfbdb00
commit 455b70968a

View File

@ -263,6 +263,7 @@ VALA_TESTS_FLAGS = \
--Xcc=-I$(srcdir) \
--Xcc=-I$(builddir) \
--Xcc=-I$(srcdir)/libsecret \
-X -fPIC \
--vapidir=$(builddir) \
--pkg libsecret-@SECRET_MAJOR@ \
--pkg mock-service-0 \