audit: use hostPlatform.isStatic instead of targetPlatform.isStatic
This commit is contained in:
parent
d1ac06b009
commit
0034539aba
|
@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
|
||||||
# --whole-archive linker flag is required to be sure that linker
|
# --whole-archive linker flag is required to be sure that linker
|
||||||
# correctly chooses strong version of symbol regardless of order of
|
# correctly chooses strong version of symbol regardless of order of
|
||||||
# object files at command line.
|
# object files at command line.
|
||||||
+ lib.optionalString stdenv.targetPlatform.isStatic ''
|
+ lib.optionalString stdenv.hostPlatform.isStatic ''
|
||||||
export LDFLAGS=-Wl,--whole-archive
|
export LDFLAGS=-Wl,--whole-archive
|
||||||
'';
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue