mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
expect: fix build on freebsd? (close #981)
This commit is contained in:
parent
8505cf5f77
commit
4736e6d509
|
@ -23,6 +23,8 @@ stdenv.mkDerivation {
|
|||
substituteInPlace configure --replace /bin/stty "$(type -tP stty)"
|
||||
sed -e '1i\#include <tclInt.h>' -i exp_inter.c
|
||||
export NIX_LDFLAGS="-rpath $out/lib $NIX_LDFLAGS"
|
||||
'' + stdenv.lib.optionalString stdenv.isFreeBSD ''
|
||||
ln -s libexpect.so.1 libexpect545.so
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
|
|
Loading…
Reference in a new issue