diff options
author | William A. Kennington III <william@wkennington.com> | 2015-09-18 14:52:20 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-09-18 14:52:52 -0700 |
commit | 26c3d3f06062259bc8ce39f7b022cc8a254d56ff (patch) | |
tree | 02d367aaee41714398cb23985a3238cb631771e2 /pkgs/tools/filesystems/ceph | |
parent | a394827e1396168c5fc3386ebf83db1a724399b7 (diff) |
ceph: Fix .la files
Diffstat (limited to 'pkgs/tools/filesystems/ceph')
-rw-r--r-- | pkgs/tools/filesystems/ceph/generic.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/ceph/generic.nix b/pkgs/tools/filesystems/ceph/generic.nix index d63937f7fbf2b..cfc020b107d21 100644 --- a/pkgs/tools/filesystems/ceph/generic.nix +++ b/pkgs/tools/filesystems/ceph/generic.nix @@ -260,6 +260,17 @@ stdenv.mkDerivation { test -f "$PY"c test -f "$PY"o done + + # Fix .la file link dependencies + find "$lib/lib" -name \*.la | xargs sed -i \ + -e 's,-lboost_[a-z]*,-L${boost.lib}/lib \0,g' \ + '' + optionalString (cryptoStr == "cryptopp") '' + -e 's,-lcryptopp,-L${optCryptopp}/lib \0,g' \ + '' + optionalString (cryptoStr == "nss") '' + -e 's,-l\(plds4\|plc4\|nspr4\),-L${optNss}/lib \0,g' \ + -e 's,-l\(ssl3\|smime3\|nss3\|nssutil3\),-L${optNspr}/lib \0,g' \ + '' + '' + ''; enableParallelBuilding = true; |