Skip to content

Commit

Permalink
Static link Windows binaries (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
earlephilhower authored Sep 7, 2024
1 parent cc32c94 commit c15c22a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ifeq ($(TARGET_OS),windows)
ARCHIVE ?= zip
TARGET := mklittlefs.exe
TARGET_CFLAGS = -mno-ms-bitfields
TARGET_LDFLAGS = -Wl,-static -static-libgcc -static-libstdc++
TARGET_LDFLAGS = -Wl,-static -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic
else
ARCHIVE ?= tar
TARGET := mklittlefs
Expand Down

0 comments on commit c15c22a

Please sign in to comment.