From a2627d6fbccbf42753ca09d8c04ce4270787b024 Mon Sep 17 00:00:00 2001 From: Maxime Griot Date: Thu, 5 Nov 2020 21:58:23 +0100 Subject: [PATCH] Fix mimalloc shared project --- packages/m/mimalloc/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/m/mimalloc/xmake.lua b/packages/m/mimalloc/xmake.lua index 85fb5f30d..638410ae2 100644 --- a/packages/m/mimalloc/xmake.lua +++ b/packages/m/mimalloc/xmake.lua @@ -19,7 +19,7 @@ package("mimalloc") on_install("windows", "linux", function (package) local configs = {} - table.insert(configs, "-DMI_OVERRIDE=" .. (package:config("shared") and "ON" or "OFF")) + table.insert(configs, "-DMI_OVERRIDE=" .. "OFF") table.insert(configs, "-DMI_BUILD_STATIC=" .. (package:config("shared") and "OFF" or "ON")) table.insert(configs, "-DMI_BUILD_SHARED=" .. (package:config("shared") and "ON" or "OFF")) table.insert(configs, "-DMI_SECURE=" .. (package:config("secure") and "ON" or "OFF"))