gmp: autoreconf on Windows for libtool fixes.

main
Shea Levy 2 years ago
parent b08eed0cbc
commit f28101d2a4
No known key found for this signature in database
GPG Key ID: 5C0BD6957D86FE27
  1. 4
      pkgs/development/libraries/gmp/6.x.nix

@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl, m4 { lib, stdenv, fetchurl, m4
, cxx ? !stdenv.hostPlatform.useAndroidPrebuilt && !stdenv.hostPlatform.isWasm , cxx ? !stdenv.hostPlatform.useAndroidPrebuilt && !stdenv.hostPlatform.isWasm
, buildPackages , buildPackages, autoreconfHook
, withStatic ? stdenv.hostPlatform.isStatic , withStatic ? stdenv.hostPlatform.isStatic
}: }:
@ -29,7 +29,7 @@ let self = stdenv.mkDerivation rec {
passthru.static = self.out; passthru.static = self.out;
depsBuildBuild = [ buildPackages.stdenv.cc ]; depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ m4 ]; nativeBuildInputs = [ m4 ] ++ lib.optional stdenv.hostPlatform.isWindows autoreconfHook;
configureFlags = [ configureFlags = [
"--with-pic" "--with-pic"

Loading…
Cancel
Save