libXt: fix cross-build
This commit is contained in:
parent
220dcada79
commit
054b938c5c
@ -145,7 +145,8 @@ self: super:
|
|||||||
configureFlags = attrs.configureFlags or []
|
configureFlags = attrs.configureFlags or []
|
||||||
++ malloc0ReturnsNullCrossFlag;
|
++ malloc0ReturnsNullCrossFlag;
|
||||||
propagatedBuildInputs = [ self.libSM ];
|
propagatedBuildInputs = [ self.libSM ];
|
||||||
CPP = stdenv.lib.optionalString stdenv.isDarwin "clang -E -";
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||||
|
CPP = if stdenv.isDarwin then "clang -E -" else "${stdenv.cc.targetPrefix}cc -E -";
|
||||||
outputs = [ "out" "dev" "devdoc" ];
|
outputs = [ "out" "dev" "devdoc" ];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user