]> wimlib.net Git - wimlib/commitdiff
Makefile.am: don't explicitly link to msvcrt
authorEric Biggers <ebiggers3@gmail.com>
Sun, 11 Sep 2022 17:34:12 +0000 (12:34 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 11 Sep 2022 17:34:12 +0000 (12:34 -0500)
The latest MinGW versions don't want this, and it causes an error about
the lib not being found.

Makefile.am

index 7e43e3bc196756b7c87578e904629413ab8d4086..5fa5448d7c9e830a564c85a07c5e0d592dc8946c 100644 (file)
@@ -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 =             \