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