Skip to content

Commit

Permalink
build: fix msys build
Browse files Browse the repository at this point in the history
Signed-off-by: hexian000 <[email protected]>
  • Loading branch information
hexian000 committed Jan 7, 2024
1 parent 6c48124 commit 23230da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
;;
Expand Down

0 comments on commit 23230da

Please sign in to comment.