diff --git a/packages/y/yasm/xmake.lua b/packages/y/yasm/xmake.lua index 1f72216df..6857a2000 100644 --- a/packages/y/yasm/xmake.lua +++ b/packages/y/yasm/xmake.lua @@ -10,6 +10,10 @@ package("yasm") add_deps("cmake") + if is_host("windows", "msys") then + add_deps("dlfcn-win32") + end + on_install("@windows", "@linux", "@macosx", "@msys", function (package) local configs = {"-DYASM_BUILD_TESTS=OFF"} table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))