From af5a1ef2f12ca4691ca54259ad57ea3a4a8aff3f Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 11 Sep 2022 12:34:12 -0500 Subject: [PATCH] Makefile.am: don't explicitly link to msvcrt The latest MinGW versions don't want this, and it causes an error about the lib not being found. --- Makefile.am | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index 7e43e3bc..5fa5448d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -174,7 +174,7 @@ libwim_la_SOURCES += src/wimboot.c \ include/wimlib/win32_common.h \ include/wimlib/win32_vss.h \ include/wimlib/wof.h -PLATFORM_LIBS = -lmsvcrt -lntdll +PLATFORM_LIBS = -lntdll else libwim_la_SOURCES += src/unix_apply.c \ src/unix_capture.c @@ -184,11 +184,6 @@ endif if ENABLE_TEST_SUPPORT libwim_la_SOURCES += src/test_support.c \ include/wimlib/test_support.h -if WINDOWS_NATIVE_BUILD -# Workaround for "multiple definition" error when math symbols are present in -# both libmsvcrt.a and ntdll.a -AM_LDFLAGS += -Wl,--allow-multiple-definition -endif endif libwim_la_CFLAGS = \ -- 2.43.0