core: add x11 headers
This commit is contained in:
parent
36280a0980
commit
f7e5ca8320
1 changed files with 6 additions and 0 deletions
|
|
@ -121,6 +121,12 @@ pub fn build(b: *std.Build) !void {
|
||||||
lib.linkLibrary(dep.artifact("wayland-headers"));
|
lib.linkLibrary(dep.artifact("wayland-headers"));
|
||||||
module.linkLibrary(dep.artifact("wayland-headers"));
|
module.linkLibrary(dep.artifact("wayland-headers"));
|
||||||
}
|
}
|
||||||
|
if (b.lazyDependency("x11_headers", .{
|
||||||
|
.target = target,
|
||||||
|
.optimize = optimize,
|
||||||
|
})) |dep| {
|
||||||
|
module.linkLibrary(dep.artifact("x11-headers"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (target.result.isDarwin()) {
|
if (target.result.isDarwin()) {
|
||||||
if (b.lazyDependency("mach_objc", .{
|
if (b.lazyDependency("mach_objc", .{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue