diff options
Diffstat (limited to 'libpanto-lua/build.zig.zon')
| -rw-r--r-- | libpanto-lua/build.zig.zon | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libpanto-lua/build.zig.zon b/libpanto-lua/build.zig.zon new file mode 100644 index 0000000..9223602 --- /dev/null +++ b/libpanto-lua/build.zig.zon @@ -0,0 +1,26 @@ +.{ + .fingerprint = 0xe0ed1e60c285f54f, + .name = .panto_lua, + .version = "0.0.0", + .dependencies = .{ + .panto = .{ + .path = "..", + }, + // Lua 5.4 source — used only for its headers (`lua.h`, + // `lauxlib.h`, `lualib.h`) at `@cImport` time. A Lua C-module + // does NOT link the Lua library: the host interpreter provides + // every `lua_*`/`luaL_*` symbol at `dlopen` time, resolved via + // dynamic lookup. We pin the same tarball the CLI uses so the + // standalone module and the embedded VM build against identical + // 5.4 headers. + .lua_src = .{ + .url = "https://www.lua.org/ftp/lua-5.4.7.tar.gz", + .hash = "N-V-__8AAIMvFABt-Qcpk24RD10ldEN743D8Q2e19Er8x3dJ", + }, + }, + .paths = .{ + "build.zig", + "build.zig.zon", + "src", + }, +} |
