From 1671026dcf06a9ec3331dc720c27370e1f75b2f4 Mon Sep 17 00:00:00 2001 From: Saikari Date: Sat, 4 Oct 2025 19:15:49 +0300 Subject: Update cmake_importfiles.lua --- xmake/modules/target/action/install/cmake_importfiles.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/modules/target/action/install/cmake_importfiles.lua b/xmake/modules/target/action/install/cmake_importfiles.lua index 6293cfb39..ddbac2041 100644 --- a/xmake/modules/target/action/install/cmake_importfiles.lua +++ b/xmake/modules/target/action/install/cmake_importfiles.lua @@ -40,7 +40,7 @@ end function _get_builtinvars(target, installdir) local target_ptrbytes if target:is_plat("wasm") then - target_ptrbytes = target:is_arch("armeabi", "armeabi-v7a", "x86", "mips", "i386", "armv7", "armv7s", "mipsel", "wasm32") and "4" or "8" + target_ptrbytes = target:is_arch64() and "8" or "4" else target_ptrbytes = target:check_sizeof("void*") end -- cgit v1.3.1