Skip to content

Commit df39390

Browse files
committed
fix(Makefile): add static-libgcc flag for Windows builds
1 parent f3b17cb commit df39390

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ OBJ_FILES = $(patsubst %.c, $(BUILD_DIR)/%.o, $(notdir $(SRC_FILES)))
4242
# Platform-specific settings
4343
ifeq ($(PLATFORM),windows)
4444
TARGET := $(DIST_DIR)/vector.dll
45-
LDFLAGS += -shared
45+
LDFLAGS += -shared -static-libgcc
4646
# Create .def file for Windows
4747
DEF_FILE := $(BUILD_DIR)/vector.def
4848
STRIP = strip --strip-unneeded $@

0 commit comments

Comments
 (0)