mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
graphite2: fix compiling with llvm
This commit is contained in:
parent
aba9269332
commit
88a40d7830
@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, llvmPackages
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, freetype
|
||||
@ -20,7 +21,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config cmake ];
|
||||
buildInputs = [ freetype ];
|
||||
buildInputs = [ freetype ]
|
||||
++ lib.optional (stdenv.targetPlatform.useLLVM or false)
|
||||
(llvmPackages.compiler-rt.override {
|
||||
doFakeLibgcc = true;
|
||||
});
|
||||
|
||||
patches = lib.optionals stdenv.isDarwin [ ./macosx.patch ];
|
||||
postPatch = ''
|
||||
|
Loading…
Reference in New Issue
Block a user