summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-03-21 13:40:00 -0400
committerBen Gamari <ben@smart-cactus.org>2022-03-30 22:23:58 -0400
commit177b4730ef6c42712855da5303a86200d05ec8f6 (patch)
treeff85a2529967d2653ad678000da1a73269704223
parenteb25f0bcc32e51e377a769639bbe25ce31be7f20 (diff)
downloadhaskell-177b4730ef6c42712855da5303a86200d05ec8f6.tar.gz
testsuite: Rework T13606 to avoid gcc dependence
Previously we used libgcc_s's import library in T13606. However, now that we ship with clang we no longer have this library. Instead we now use gdi32.
-rw-r--r--testsuite/tests/ghci/linking/dyn/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/linking/dyn/Makefile b/testsuite/tests/ghci/linking/dyn/Makefile
index 7f14f7d08a..c139038b14 100644
--- a/testsuite/tests/ghci/linking/dyn/Makefile
+++ b/testsuite/tests/ghci/linking/dyn/Makefile
@@ -99,6 +99,7 @@ T1407:
.PHONY: T3242
echo ":q" | '$(TEST_HC)' $(TEST_HC_OPTS_INTERACTIVE) -lm
+# We use gdi32 as library with an import library.
.PHONY: T13606
T13606:
- echo ":q" | '$(TEST_HC)' $(TEST_HC_OPTS_INTERACTIVE) -lgcc_s
+ echo ":q" | '$(TEST_HC)' $(TEST_HC_OPTS_INTERACTIVE) -lgdi32.a