1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

* openssl: per Nixpkgs convention, don't install static libraries when

building dynamic libraries.

svn path=/nixpkgs/branches/x-updates/; revision=25856
This commit is contained in:
Eelco Dolstra 2011-02-09 15:27:34 +00:00
parent 8ca86a8114
commit d924bbb775

View file

@ -25,6 +25,15 @@ stdenv.mkDerivation rec {
configureFlags = "shared --libdir=lib";
postInstall =
''
# If we're building dynamic libraries, then don't install static
# libraries.
if [ -n "$(echo $out/lib/*.so)" ]; then
rm $out/lib/*.a
fi
''; # */
crossAttrs = {
preConfigure=''
# It's configure does not like --build or --host