From 23230dafdc80879faa02ae558e82069c01e82fff Mon Sep 17 00:00:00 2001 From: hexian000 Date: Sun, 7 Jan 2024 19:40:10 +0800 Subject: [PATCH] build: fix msys build Signed-off-by: hexian000 --- m.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m.sh b/m.sh index c51ca4c..3faf00a 100755 --- a/m.sh +++ b/m.sh @@ -88,12 +88,12 @@ case "$1" in -DCMAKE_BUILD_TYPE="Release" \ -DCMAKE_EXPORT_COMPILE_COMMANDS=1 \ -DCMAKE_EXE_LINKER_FLAGS="-static-libgcc" \ - -DLINK_STATIC_LIBS=ON \ -S "." -B "build" nice cmake --build "build" TARGET="$(cc -dumpmachine)" zip -9j "build/neosocksd-win32.${TARGET}.zip" \ "/usr/bin/msys-2.0.dll" \ + "/usr/bin/msys-cares-2.dll" \ "build/src/neosocksd.exe" ls -lh "build/neosocksd-win32.${TARGET}.zip" ;;