libXt: fix cross-build
This commit is contained in:
parent
220dcada79
commit
054b938c5c
1 changed files with 2 additions and 1 deletions
|
@ -145,7 +145,8 @@ self: super:
|
|||
configureFlags = attrs.configureFlags or []
|
||||
++ malloc0ReturnsNullCrossFlag;
|
||||
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" ];
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue