summary refs log tree commit diff
path: root/pkgs/development/libraries/gmp
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2022-05-06 07:50:03 -0400
committerShea Levy <shea@shealevy.com>2022-05-09 10:10:54 -0400
commitf28101d2a421da8b9836a9e339dc8b27353f60d3 (patch)
tree2e00835da72aff6895f839d3ffcc3cd1554fb9d4 /pkgs/development/libraries/gmp
parentb08eed0cbc92b3bca1347f4534f1059b42e06de4 (diff)
gmp: autoreconf on Windows for libtool fixes.
Diffstat (limited to 'pkgs/development/libraries/gmp')
-rw-r--r--pkgs/development/libraries/gmp/6.x.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/gmp/6.x.nix b/pkgs/development/libraries/gmp/6.x.nix
index af4f15a151f0f..838fe432cafe4 100644
--- a/pkgs/development/libraries/gmp/6.x.nix
+++ b/pkgs/development/libraries/gmp/6.x.nix
@@ -1,6 +1,6 @@
 { lib, stdenv, fetchurl, m4
 , cxx ? !stdenv.hostPlatform.useAndroidPrebuilt && !stdenv.hostPlatform.isWasm
-, buildPackages
+, buildPackages, autoreconfHook
 , withStatic ? stdenv.hostPlatform.isStatic
 }:
 
@@ -29,7 +29,7 @@ let self = stdenv.mkDerivation rec {
   passthru.static = self.out;
 
   depsBuildBuild = [ buildPackages.stdenv.cc ];
-  nativeBuildInputs = [ m4 ];
+  nativeBuildInputs = [ m4 ] ++ lib.optional stdenv.hostPlatform.isWindows autoreconfHook;
 
   configureFlags = [
     "--with-pic"