Skip to content

Commit

Permalink
build: set LINK_STATIC_LIBS on msys2
Browse files Browse the repository at this point in the history
Signed-off-by: He Xian <[email protected]>
  • Loading branch information
hexian000 committed Nov 24, 2024
1 parent 5ef83d4 commit 0ae812e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions m.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ case "$1" in
cmake \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_EXE_LINKER_FLAGS="-static-libgcc" \
-DLINK_STATIC_LIBS=ON \
..
cmake --build .
HOST="$(cc -dumpmachine)"
Expand Down

0 comments on commit 0ae812e

Please sign in to comment.