From 3a979c31d363637a83bc891d3116970b14c13c9b Mon Sep 17 00:00:00 2001 From: Anthony Cowley Date: Fri, 28 Oct 2016 19:11:58 -0400 Subject: tinyxml: fix install name on darwin Things linked with tinyxml would previously reference the bare "libtinyxml.dylib" name. --- pkgs/development/libraries/tinyxml/2.6.2.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/development/libraries/tinyxml') diff --git a/pkgs/development/libraries/tinyxml/2.6.2.nix b/pkgs/development/libraries/tinyxml/2.6.2.nix index 7fc403f0739d4..f885fc3f954c6 100644 --- a/pkgs/development/libraries/tinyxml/2.6.2.nix +++ b/pkgs/development/libraries/tinyxml/2.6.2.nix @@ -63,6 +63,8 @@ in stdenv.mkDerivation { cp -v tinyxml.pc $out/lib/pkgconfig/ cp -v docs/* $out/share/doc/tinyxml/ + '' + stdenv.lib.optionalString stdenv.isDarwin '' + install_name_tool -id $out/lib/libtinyxml.dylib $out/lib/libtinyxml.dylib ''; meta = { -- cgit 1.4.1