From 93ec7bd9e5c684e97ea76f4e2004e926c95e9aee Mon Sep 17 00:00:00 2001 From: SteelT Date: Mon, 17 Jan 2022 15:46:44 -0500 Subject: [PATCH] Don't compile with dynamic base --- src/win32/Makefile.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/win32/Makefile.cfg b/src/win32/Makefile.cfg index 6286a18b..71e8a962 100644 --- a/src/win32/Makefile.cfg +++ b/src/win32/Makefile.cfg @@ -168,3 +168,8 @@ endif ifndef MINGW64 LDFLAGS+=-Wl,--large-address-aware endif + +# disable dynamicbase if under msys2 +ifdef MSYSTEM + LDFLAGS+=-Wl,--disable-dynamicbase +endif