mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
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
1 changed files with 4 additions and 0 deletions
|
@ -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