From 6f54928d4de7f45e26a7db4e528a9d0166afe1a9 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Fri, 10 Oct 2025 06:54:09 +0200 Subject: [PATCH] Add dll library build for windows --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 8f1bc595..dfa0b023 100644 --- a/Makefile +++ b/Makefile @@ -261,6 +261,9 @@ libcodex: ifeq ($(STATIC), 1) echo -e $(BUILD_MSG) "build/$@.a" && \ $(ENV_SCRIPT) nim libcodexStatic $(NIM_PARAMS) codex.nims +else ifeq ($(detected_OS),Windows) + echo -e $(BUILD_MSG) "build/$@.dll" && \ + $(ENV_SCRIPT) nim libcodexDynamic $(NIM_PARAMS) codex.nims else echo -e $(BUILD_MSG) "build/$@.so" && \ $(ENV_SCRIPT) nim libcodexDynamic $(NIM_PARAMS) codex.nims