summaryrefslogtreecommitdiff
path: root/core/src/xmake/binutils
diff options
context:
space:
mode:
authorruki <[email protected]>2026-02-12 00:42:34 +0800
committerruki <[email protected]>2026-02-12 00:42:34 +0800
commite0e3e4dc010c24c555499962f740f4d76eb25351 (patch)
treea3b7ad53d6182186584ea92b17c5326ff83075b6 /core/src/xmake/binutils
parent120bb0b0cf4a046638dca0d408a5bff604d91c9f (diff)
improve deplibs to support wasm
Diffstat (limited to 'core/src/xmake/binutils')
-rw-r--r--core/src/xmake/binutils/deplibs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/xmake/binutils/deplibs.c b/core/src/xmake/binutils/deplibs.c
index cd44c2630..1ce0d5c29 100644
--- a/core/src/xmake/binutils/deplibs.c
+++ b/core/src/xmake/binutils/deplibs.c
@@ -133,6 +133,7 @@ tb_int_t xm_binutils_deplibs(lua_State *lua) {
lua_pushfstring(lua, "failed to parse ELF");
break;
}
+ } else if (format == XM_BINUTILS_FORMAT_WASM) {
} else {
lua_pop(lua, 1); // pop table
lua_pushboolean(lua, tb_false);