Skip to content

Commit

Permalink
Fix system include path for ios build
Browse files Browse the repository at this point in the history
  • Loading branch information
BeanCheeseBurrito committed Jul 29, 2024
1 parent f2bc7fa commit ef3700d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Flecs.NET.Native/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub fn compileFlecs(options: anytype, b: *Build, lib_type: LibType) void {
lib.linkSystemLibrary("ws2_32");
},
.ios => {
lib.addSystemIncludePath(b.path("/usr/include"));
lib.addSystemIncludePath(.{ .cwd_relative = "/usr/include" });

if (options.target.result.abi == .simulator and options.ios_simulator_sdk_path != null) {
b.sysroot = options.ios_simulator_sdk_path;
Expand Down

0 comments on commit ef3700d

Please sign in to comment.