openssl: Fix building on Darwin

http://hydra.nixos.org/build/3491716
This commit is contained in:
Eelco Dolstra
2012-12-18 18:03:26 +01:00
parent 6d928ab684
commit 88f7000aa4
2 changed files with 12 additions and 20 deletions
@@ -67,7 +67,7 @@ stdenv.mkDerivation {
''
# If we're building dynamic libraries, then don't install static
# libraries.
if [ -n "$(echo $out/lib/*.so)" ]; then
if [ -n "$(echo $out/lib/*.so $out/lib/*.dylib)" ]; then
rm $out/lib/*.a
fi
''; # */