tinyxml: fix install name on darwin

Things linked with tinyxml would previously reference the bare "libtinyxml.dylib"
name.
This commit is contained in:
Anthony Cowley 2016-10-28 19:11:58 -04:00
parent 236a32069a
commit 3a979c31d3

View File

@ -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 = {