libelf: use autoreconfHook for NetBSD cross
This was a precedence mistake when I added this conditional — the ++ that adds autoreconfHook only took effect in the else branch. Fixes: fc04308b0ad ("libelf: fix build on NetBSD")
This commit is contained in:
parent
9a666e2b4c
commit
6b692bc868
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs =
|
||||
if stdenv.hostPlatform.isNetBSD then [ netbsd.gencat ] else [ gettext ]
|
||||
(if stdenv.hostPlatform.isNetBSD then [ netbsd.gencat ] else [ gettext ])
|
||||
# Need to regenerate configure script with newer version in order to pass
|
||||
# "mr_cv_target_elf=yes", but `autoreconfHook` brings in `makeWrapper`
|
||||
# which doesn't work with the bootstrapTools bash, so can only do this
|
||||
|
Loading…
Reference in New Issue
Block a user