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:
parent
7d010ab5f4
commit
c1c314c36f
1 changed files with 6 additions and 0 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue