3
0
Fork 0
forked from mirrors/nixpkgs

the hpn-ssh needs -lgcc_s, because of its pthread_cancel at the end.

svn path=/nixpkgs/trunk/; revision=26833
This commit is contained in:
Lluís Batlle i Rossell 2011-04-13 20:44:17 +00:00
parent 9d0df24860
commit f4b6ea9ebc

View file

@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
prePatch = stdenv.lib.optionalString hpnSupport
''
gunzip -c ${hpnSrc} | patch -p1
export NIX_LDFLAGS="$NIX_LDFLAGS -lgcc_s"
'';
patches = [ ./locale_archive.patch ];