diff --git a/packages/o/osqp/xmake.lua b/packages/o/osqp/xmake.lua index 4858ff38ae2..d26aa19466b 100644 --- a/packages/o/osqp/xmake.lua +++ b/packages/o/osqp/xmake.lua @@ -13,7 +13,7 @@ package("osqp") add_deps("cmake") if is_plat("windows") then add_deps("pkgconf") - else + elseif is_host("linux", "macosx", "bsd") then add_deps("pkg-config") end add_deps("qdldl")