Merge pull request #146582 from anmonteiro/anmonteiro/adns-fix-static
adns: fix static compilation
This commit is contained in:
commit
ce8a529715
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