diff --git a/packages/h/hookmanager/xmake.lua b/packages/h/hookmanager/xmake.lua index 16e698ff11f..bd1d921c31d 100644 --- a/packages/h/hookmanager/xmake.lua +++ b/packages/h/hookmanager/xmake.lua @@ -17,7 +17,8 @@ package("hookmanager") if on_check then on_check(function (package) - assert(package:is_arch("x86") and package:config("lighthook"),"package(hookmanager) LightHook does not support the X86 architecture.") + assert(not package:is_arch("arm64"),"package(hookmanager) The arm64 architecture is not currently supported.") + assert(not (package:is_arch("x86") and package:config("lighthook")),"package(hookmanager) LightHook does not support the X86 architecture.") end) end