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)"
|
substituteInPlace configure --replace /bin/stty "$(type -tP stty)"
|
||||||
sed -e '1i\#include <tclInt.h>' -i exp_inter.c
|
sed -e '1i\#include <tclInt.h>' -i exp_inter.c
|
||||||
export NIX_LDFLAGS="-rpath $out/lib $NIX_LDFLAGS"
|
export NIX_LDFLAGS="-rpath $out/lib $NIX_LDFLAGS"
|
||||||
|
'' + stdenv.lib.optionalString stdenv.isFreeBSD ''
|
||||||
|
ln -s libexpect.so.1 libexpect545.so
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
Loading…
Reference in New Issue
Block a user