[libsecret] Build Vala tests with -fPIC



commit 455b70968a726feb9bc74446552e7aa51e4ef2bd
Author: David King <dking redhat com>
Date:   Fri Jan 27 08:43:09 2017 +0000

    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 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 \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]