mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
sharutils: Fix static build on macOS
This is needed by nixStatic (via libarchive).
This commit is contained in:
parent
1fc6296f9b
commit
17d12f1bc1
|
@ -58,6 +58,9 @@ stdenv.mkDerivation rec {
|
|||
substituteInPlace intl/Makefile.in --replace "AR = ar" ""
|
||||
'';
|
||||
|
||||
# Workaround to fix the static build on macOS.
|
||||
NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue