netbsd.ld_elf_so: fix build
Tested building pkgsCross.x86_64-netbsd.netbsd.ld_elf_so from x86_64-linux.
This commit is contained in:
parent
dde5369c50
commit
2a16327a83
|
@ -633,7 +633,11 @@ let
|
|||
version = "8.0";
|
||||
sha256 = "1jmqpi0kg2daiqnvpwdyfy8rpnszxsm70sxizz0r7wn53xjr5hva";
|
||||
meta.platforms = lib.platforms.netbsd;
|
||||
LIBC_PIC = "${stdenv.cc.libc}/lib/libc_pic.a";
|
||||
# Hack to prevent a symlink being installed here for compatibility.
|
||||
SHLINKINSTALLDIR = "/usr/libexec";
|
||||
USE_FORT = "yes";
|
||||
makeFlags = [ "CLIBOBJ=${stdenv.cc.libc}/lib" ];
|
||||
extraPaths = [ libc.src ] ++ libc.extraPaths;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue