Signed-off-by: Antonin Décimo <anto...@tarides.com>
---
 mingw-w64-libraries/winpthreads/tests/Makefile.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mingw-w64-libraries/winpthreads/tests/Makefile.in 
b/mingw-w64-libraries/winpthreads/tests/Makefile.in
index bb0e75bcc..1cf0f5efe 100644
--- a/mingw-w64-libraries/winpthreads/tests/Makefile.in
+++ b/mingw-w64-libraries/winpthreads/tests/Makefile.in
@@ -523,7 +523,8 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include
-AM_LDFLAGS = -L$(top_builddir)/fakelib -L$(top_builddir) -lwinpthread -static
+@MSVC_FALSE@AM_LDFLAGS = -L$(top_builddir)/fakelib -L$(top_builddir) 
-lwinpthread -static
+@MSVC_TRUE@AM_LDFLAGS = ../libpthread.a
 TESTS = $(check_PROGRAMS)
 all: all-am
 
-- 
2.43.0



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to