mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 01:17:28 +03:00
graphite2: Remove libgcc
It doesn't seem to be needed.
This commit is contained in:
parent
110ec00516
commit
2e38eee4a1
@ -5,7 +5,6 @@
|
||||
, freetype
|
||||
, cmake
|
||||
, static ? stdenv.hostPlatform.isStatic
|
||||
, libgcc
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -19,9 +18,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config cmake ];
|
||||
buildInputs = [ freetype ]
|
||||
# On aarch64-darwin libgcc won't even build currently, and it doesn't seem needed.
|
||||
++ lib.optionals (with stdenv; !cc.isGNU && !(isDarwin && isAarch64)) [ libgcc ];
|
||||
buildInputs = [ freetype ];
|
||||
|
||||
patches = lib.optionals stdenv.isDarwin [ ./macosx.patch ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user