mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
tinyxml: fix install name on darwin
Things linked with tinyxml would previously reference the bare "libtinyxml.dylib" name.
This commit is contained in:
parent
236a32069a
commit
3a979c31d3
1 changed files with 2 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue