From 5d15053baadb7dbcc42daa4e311dca465e5a506b Mon Sep 17 00:00:00 2001 From: Macoy Madson Date: Fri, 11 Feb 2022 09:09:28 -0500 Subject: [PATCH] Define ONIG_STATIC to properly import lib on MSVC --- src/Oniguruma.cake | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Oniguruma.cake b/src/Oniguruma.cake index 91f3248..fdcec30 100644 --- a/src/Oniguruma.cake +++ b/src/Oniguruma.cake @@ -4,6 +4,7 @@ (export-and-evaluate (add-c-search-directory-module "Dependencies/oniguruma/src") + (c-preprocessor-define ONIG_STATIC) (c-import "oniguruma.h")) (var-global c-onig-free-self-and-contents (const int) 1)