feat: update to zig 0.12.0-dev.2058+04ac028a2 build changes
parent
a7128eaf34
commit
1d5a5b3265
|
@ -5,7 +5,7 @@ pub fn build(b: *std.Build) void {
|
||||||
const optimize = b.standardOptimizeOption(.{});
|
const optimize = b.standardOptimizeOption(.{});
|
||||||
|
|
||||||
const module = b.addModule("wayland", .{
|
const module = b.addModule("wayland", .{
|
||||||
.source_file = .{ .path = "src/main.zig" },
|
.root_source_file = .{ .path = "src/main.zig" },
|
||||||
});
|
});
|
||||||
|
|
||||||
const lib = b.addStaticLibrary(.{
|
const lib = b.addStaticLibrary(.{
|
||||||
|
@ -41,6 +41,6 @@ pub fn build(b: *std.Build) void {
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
});
|
});
|
||||||
client_connect_exe.addModule("wayland", module);
|
client_connect_exe.root_module.addImport("wayland", module);
|
||||||
b.installArtifact(client_connect_exe);
|
b.installArtifact(client_connect_exe);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue