adns: on darwin, patch the library with install_name_tool
This commit is contained in:
parent
79b214ef95
commit
bdf18c1044
1 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,10 @@ stdenv.mkDerivation {
|
|||
# http://thread.gmane.org/gmane.linux.distributions.nixos/1328 for details.
|
||||
doCheck = false;
|
||||
|
||||
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
install_name_tool -id $out/lib/libadns.so.1.3 $out/lib/libadns.so.1.3
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.chiark.greenend.org.uk/~ian/adns/";
|
||||
description = "Asynchronous DNS Resolver Library";
|
||||
|
|
Loading…
Reference in a new issue