Skip to content

Commit 0c60749

Browse files
committed
Move include files to build directory
1 parent ca0a438 commit 0c60749

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

build.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ pub fn build(b: *Build) void {
6464

6565
// lib must expose all headers included by these root headers
6666
const c_header_path = switch (lang) {
67-
.luajit => b.path("include/luajit_all.h"),
68-
.luau => b.path("include/luau_all.h"),
69-
else => b.path("include/lua_all.h"),
67+
.luajit => b.path("build/include/luajit_all.h"),
68+
.luau => b.path("build/include/luau_all.h"),
69+
else => b.path("build/include/lua_all.h"),
7070
};
7171
const c_headers = b.addTranslateC(.{
7272
.root_source_file = c_header_path,

build.zig.zon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.name = .zlua,
33
.fingerprint = 0xcf671dd0b696484, // changing this has security and trust implications
44
.version = "0.1.0",
5-
.paths = .{ "build.zig", "build.zig.zon", "src", "license", "include", "build" },
5+
.paths = .{ "build.zig", "build.zig.zon", "src", "license", "build" },
66

77
.dependencies = .{
88
// We do not use the lua.org version of Lua 5.1.5 because there is a known security issue
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)