libscrypt: fix build on darwin
problematic flags have been moved to LDFLAGS_EXTRA
This commit is contained in:
parent
cb6fac46c1
commit
ef16b2e7f7
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-QWWqC10bENemG5FYEog87tT7IxDaBJUDqu6j/sO3sYE=";
|
sha256 = "sha256-QWWqC10bENemG5FYEog87tT7IxDaBJUDqu6j/sO3sYE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildFlags = lib.optional stdenv.isDarwin "LDFLAGS= CFLAGS_EXTRA=";
|
buildFlags = lib.optional stdenv.isDarwin "LDFLAGS= LDFLAGS_EXTRA= CFLAGS_EXTRA=";
|
||||||
|
|
||||||
installFlags = [ "PREFIX=$(out)" ];
|
installFlags = [ "PREFIX=$(out)" ];
|
||||||
installTargets = lib.optional stdenv.isDarwin "install-osx";
|
installTargets = lib.optional stdenv.isDarwin "install-osx";
|
||||||
|
|
Loading…
Reference in a new issue