mpfr: fix cygwin build

This commit is contained in:
David McFarland
2026-01-02 12:52:46 -04:00
parent be8c8ea769
commit d58a46a422
+2 -1
View File
@@ -50,7 +50,8 @@ stdenv.mkDerivation rec {
# Without this, the `tget_set_d128` test experiences a link
# error due to missing `__dpd_trunctdkf`.
"--disable-decimal-float"
];
]
++ lib.optional stdenv.hostPlatform.isPE "LDFLAGS=-Wl,-no-undefined";
doCheck = true; # not cross;