adns: on darwin, patch the library with install_name_tool
This commit is contained in:
parent
79b214ef95
commit
bdf18c1044
@ -21,6 +21,10 @@ stdenv.mkDerivation {
|
|||||||
# http://thread.gmane.org/gmane.linux.distributions.nixos/1328 for details.
|
# http://thread.gmane.org/gmane.linux.distributions.nixos/1328 for details.
|
||||||
doCheck = false;
|
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 = {
|
meta = {
|
||||||
homepage = "http://www.chiark.greenend.org.uk/~ian/adns/";
|
homepage = "http://www.chiark.greenend.org.uk/~ian/adns/";
|
||||||
description = "Asynchronous DNS Resolver Library";
|
description = "Asynchronous DNS Resolver Library";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user