Skip to content

Commit ac252b5

Browse files
authored
fix(windows): static link libgcc to avoid missing dependencies (#42)
* fix(Makefile): add static-libgcc flag for Windows builds * Bump version to 0.9.90
1 parent f3b17cb commit ac252b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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 $@

src/sqlite-vector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
extern "C" {
2525
#endif
2626

27-
#define SQLITE_VECTOR_VERSION "0.9.85"
27+
#define SQLITE_VECTOR_VERSION "0.9.90"
2828

2929
SQLITE_VECTOR_API int sqlite3_vector_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi);
3030

0 commit comments

Comments
 (0)