summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid King <dking@redhat.com>2017-01-27 08:43:09 +0000
committerStef Walter <stefw@gnome.org>2017-02-01 12:39:02 +0100
commit455b70968a726feb9bc74446552e7aa51e4ef2bd (patch)
treeb6e8d9ebb45d2c1d70c0e67cfc3f9240074a7afe
parentb9fbfbdb009b82c2f15d14265dfb14dd747d8532 (diff)
downloadlibsecret-455b70968a726feb9bc74446552e7aa51e4ef2bd.tar.gz
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
-rw-r--r--libsecret/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsecret/Makefile.am b/libsecret/Makefile.am
index 7d96774..07bbad6 100644
--- a/libsecret/Makefile.am
+++ b/libsecret/Makefile.am
@@ -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 \