forked from mirrors/nixpkgs
trousers: Fix darwin build
This commit is contained in:
parent
430c3e08b4
commit
bd69c51ddf
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue