mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
json-glib: fixup darwin install_name
Couldn't figure out how to fix it durning the build.
This commit is contained in:
parent
ade2840f20
commit
787d371c28
@ -1,4 +1,7 @@
|
||||
{ stdenv, fetchurl, fetchpatch, glib, meson, ninja, pkgconfig, gettext, gobjectIntrospection, dbus, libintlOrEmpty }:
|
||||
{ stdenv, fetchurl, fetchpatch, glib, meson, ninja, pkgconfig, gettext
|
||||
, gobjectIntrospection, dbus, libintlOrEmpty
|
||||
, fixDarwinDylibNames
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "json-glib-${minVer}.2";
|
||||
@ -11,7 +14,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
propagatedBuildInputs = [ glib ];
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gettext gobjectIntrospection ];
|
||||
buildInputs = libintlOrEmpty;
|
||||
buildInputs = libintlOrEmpty
|
||||
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user