diff options
| author | Saikari <[email protected]> | 2025-10-04 22:34:41 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-10-04 22:34:41 +0300 |
| commit | cb087738d9cc3caf04f619b2524d4a848daee387 (patch) | |
| tree | 33a72cbefdcae2fa8eeac07cf48f0077aff5f430 | |
| parent | 1671026dcf06a9ec3331dc720c27370e1f75b2f4 (diff) | |
Update cmake_importfiles.lua
| -rw-r--r-- | xmake/modules/target/action/install/cmake_importfiles.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/target/action/install/cmake_importfiles.lua b/xmake/modules/target/action/install/cmake_importfiles.lua index ddbac2041..e857cdadd 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_arch64() and "8" or "4" + target_ptrbytes = is_arch("wasm32") and "4" or "8" else target_ptrbytes = target:check_sizeof("void*") end |
