Skip to content

Commit

Permalink
Fix mimalloc debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
WSSDude committed Feb 1, 2025
1 parent 754963f commit ec35e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/m/mimalloc/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ package("mimalloc")

if package:is_plat("windows") and package:is_debug() then
local dir = package:installdir(package:config("shared") and "bin" or "lib")
os.cp(path.join(package:buildir(), "mimalloc-debug.pdb"), dir)
os.cp(path.join(package:buildir(), "pdb/Debug/mimalloc-debug.pdb"), dir)
end
else
import("package.tools.cmake").build(package, configs, {buildir = "build", cxflags = cxflags})
Expand All @@ -96,7 +96,7 @@ package("mimalloc")
elseif package:is_plat("macosx") then
os.trycp("build/*.dylib", package:installdir("bin"))
os.trycp("build/*.dylib", package:installdir("lib"))
os.trycp("build/*.a", package:installdir("lib"))
os.trycp("build/*.a", package:installdir("lib"))
else
os.trycp("build/*.so", package:installdir("bin"))
os.trycp("build/*.so", package:installdir("lib"))
Expand Down

0 comments on commit ec35e28

Please sign in to comment.