adns: fix static compilation
This commit is contained in:
parent
28b46d97ff
commit
068a885d9c
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ gnum4 ];
|
||||
|
||||
configureFlags = lib.optional stdenv.hostPlatform.isStatic "--disable-dynamic";
|
||||
|
||||
preConfigure =
|
||||
lib.optionalString stdenv.isDarwin "sed -i -e 's|-Wl,-soname=$(SHLIBSONAME)||' configure";
|
||||
|
||||
|
|
Loading…
Reference in a new issue