3
0
Fork 0
forked from mirrors/nixpkgs

trousers: Fix darwin build

This commit is contained in:
William A. Kennington III 2015-05-11 15:03:07 -07:00
parent 430c3e08b4
commit bd69c51ddf

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
NIX_LDFLAGS = "-lgcc_s";
# Fix broken libtool file
preFixup = ''
preFixup = stdenv.lib.optionalString (!stdenv.isDarwin) ''
sed 's,-lcrypto,-L${openssl}/lib -lcrypto,' -i $out/lib/libtspi.la
'';