From a8a886539198d0723c6760c75c4181ed764094c4 Mon Sep 17 00:00:00 2001 From: Dirk Heinrichs Date: Sun, 10 Jan 2016 17:00:39 +0100 Subject: [PATCH] sqlcipher needs to be compiled with -fPIC on RHEL/Fedora. --- build_scripts/RedHat+Fedora/retroshare06.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_scripts/RedHat+Fedora/retroshare06.spec b/build_scripts/RedHat+Fedora/retroshare06.spec index d6ef0ff9f..e69f82df3 100644 --- a/build_scripts/RedHat+Fedora/retroshare06.spec +++ b/build_scripts/RedHat+Fedora/retroshare06.spec @@ -52,7 +52,7 @@ This package provides a plugin for RetroShare, a secured Friend-to-Friend commun %build cd lib/sqlcipher -./configure --disable-shared --enable-static --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto" +./configure --disable-shared --enable-static --enable-tempstore=yes CFLAGS="-fPIC -DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto" make cd - cd src