---
 mingw-w64-crt/testcases/Makefile.am | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/mingw-w64-crt/testcases/Makefile.am 
b/mingw-w64-crt/testcases/Makefile.am
index 3ce0c076e02e..480094e8ba8b 100644
--- a/mingw-w64-crt/testcases/Makefile.am
+++ b/mingw-w64-crt/testcases/Makefile.am
@@ -95,10 +95,13 @@ EXTRA_DIST = \
   t_stprintf_tmpl.h \
   t_swprintf_tmpl.h
 
-libprocdetach.dll.a: libprocdetach.o
-       $(LINK) -shared libprocdetach.o -Wl,--out-implib,$@ -o libprocdetach.dll
+CLEANFILES = \
+  libprocdetach.dll
 
-t_safe_flush_LDADD = libprocdetach.dll.a
+libprocdetach.dll: libprocdetach.o
+       $(LINK) -shared libprocdetach.o -o libprocdetach.dll
+
+t_safe_flush_LDADD = libprocdetach.dll
 
 tstmaincpp_SOURCES = tstmaincpp.cpp
 t_trycatch_SOURCES = t_trycatch.cpp
@@ -126,6 +129,3 @@ XFAIL_TESTS = \
 
 # Include the complex math testcase fragment.
 include complex/Makefile.am
-
-clean-local:
-       rm -f libprocdetach.dll libprocdetach.dll.a
-- 
2.20.1



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to