Merge pull request #248 from heini/sqlcipher_needs_fpic

sqlcipher needs to be compiled with -fPIC on RHEL/Fedora.
This commit is contained in:
electron128 2016-01-24 19:56:53 +01:00
commit 2f3350fa06

View File

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