Loading pkgs/development/libraries/gmp/6.x.nix +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ let ++ optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.is64bit) "ABI=64" # to build a .dll on windows, we need --disable-static + --enable-shared # see https://gmplib.org/manual/Notes-for-Particular-Systems.html ++ optional (!withStatic && stdenv.hostPlatform.isWindows) "--disable-static --enable-shared" ++ optional (!withStatic && stdenv.hostPlatform.isPE) "--disable-static --enable-shared" ++ optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) "--disable-assembly"; doCheck = true; # not cross; Loading Loading
pkgs/development/libraries/gmp/6.x.nix +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ let ++ optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.is64bit) "ABI=64" # to build a .dll on windows, we need --disable-static + --enable-shared # see https://gmplib.org/manual/Notes-for-Particular-Systems.html ++ optional (!withStatic && stdenv.hostPlatform.isWindows) "--disable-static --enable-shared" ++ optional (!withStatic && stdenv.hostPlatform.isPE) "--disable-static --enable-shared" ++ optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) "--disable-assembly"; doCheck = true; # not cross; Loading