expect: fix build on freebsd? (close #981)

This commit is contained in:
Jason \"Don\" O'Conal 2013-09-17 09:39:05 +10:00 committed by Vladimír Čunát
parent 8505cf5f77
commit 4736e6d509

View File

@ -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 = [