mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 14:40:07 +03:00
librsvg: fix build on darwin
librsvg needs -lobjc ldflag on darwin https://gitlab.gnome.org/GNOME/librsvg/-/issues/545
This commit is contained in:
parent
9ea40782c0
commit
2a7a7a8155
@ -16,7 +16,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "dev" "installedTests" ];
|
||||
|
||||
buildInputs = [ libxml2 bzip2 pango libintl ];
|
||||
buildInputs = [ libxml2 bzip2 pango libintl ]
|
||||
++ lib.optionals stdenv.isDarwin [ darwin.libobjc ];
|
||||
|
||||
NIX_LDFLAGS = if stdenv.isDarwin then "-lobjc" else null;
|
||||
|
||||
propagatedBuildInputs = [ glib gdk-pixbuf cairo ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user