openssh: unset LD

Commit 093cc00cdd, sets the LD environment
variable by default, but this confuses the openssh Makefile because `configure'
does not respect it.
This commit is contained in:
Thomas Tuegel 2017-07-19 08:44:55 -05:00
parent 7d010ab5f4
commit c1c314c36f
No known key found for this signature in database
GPG key ID: 22CBF5249D4B4D59

View file

@ -60,6 +60,12 @@ stdenv.mkDerivation rec {
++ optional withKerberos kerberos
++ optional hpnSupport autoreconfHook;
preConfigure = ''
# Setting LD causes `configure' and `make' to disagree about which linker
# to use: `configure' wants `gcc', but `make' wants `ld'.
unset LD
'';
# I set --disable-strip because later we strip anyway. And it fails to strip
# properly when cross building.
configureFlags = [