From f2b0c5a6fac0de2f838324e6f9fb07315a2d0fd2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 12 Feb 2010 12:27:48 +0000 Subject: [PATCH] * librsync: pass --enable-shared to get shared libraries. Then the -fPIC flag is no longer needed. svn path=/nixpkgs/trunk/; revision=19949 --- pkgs/development/libraries/librsync/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/libraries/librsync/default.nix b/pkgs/development/libraries/librsync/default.nix index 09128e4c1c8f..84f34eeebe1d 100644 --- a/pkgs/development/libraries/librsync/default.nix +++ b/pkgs/development/libraries/librsync/default.nix @@ -8,9 +8,7 @@ stdenv.mkDerivation { sha256 = "1mj1pj99mgf1a59q9f2mxjli2fzxpnf55233pc1klxk2arhf8cv6"; }; - # To allow x86_64 linking to the static lib to make a shared object - # like for the package 'duplicity' - CFLAGS="-fPIC"; + configureFlags = "--enable-shared"; meta = { homepage = http://librsync.sourceforge.net/;