فهرست منبع

Fix mimalloc shared project

Maxime Griot 5 سال پیش
والد
کامیت
a2627d6fbc
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/m/mimalloc/xmake.lua

+ 1 - 1
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"))