From 455b70968a726feb9bc74446552e7aa51e4ef2bd Mon Sep 17 00:00:00 2001 From: David King Date: Fri, 27 Jan 2017 08:43:09 +0000 Subject: [PATCH] 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 --- libsecret/Makefile.am | 1 + 1 file changed, 1 insertion(+) 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 \