zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 6f117dbca41e4dfede925d046b572df40849a9c4 (tree)
parent e69caaa39f06b7ddf00c1e439c3df91f4efbdef3
Author: Jakub Konka <kubkon@jakubkonka.com>
Date:   Mon, 13 May 2024 08:55:27 +0200

test/standalone: fix iOS smoke test

Diffstat:
Mtest/standalone/ios/build.zig | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/standalone/ios/build.zig b/test/standalone/ios/build.zig @@ -22,9 +22,9 @@ pub fn build(b: *std.Build) void { .target = target, }); exe.addCSourceFile(.{ .file = b.path("main.m"), .flags = &.{} }); - exe.addSystemIncludePath(b.path(b.pathJoin(&.{ sdk, "/usr/include" }))); - exe.addSystemFrameworkPath(b.path(b.pathJoin(&.{ sdk, "/System/Library/Frameworks" }))); - exe.addLibraryPath(b.path(b.pathJoin(&.{ sdk, "/usr/lib" }))); + exe.addSystemIncludePath(.{ .cwd_relative = b.pathJoin(&.{ sdk, "/usr/include" }) }); + exe.addSystemFrameworkPath(.{ .cwd_relative = b.pathJoin(&.{ sdk, "/System/Library/Frameworks" }) }); + exe.addLibraryPath(.{ .cwd_relative = b.pathJoin(&.{ sdk, "/usr/lib" }) }); exe.linkFramework("Foundation"); exe.linkFramework("UIKit"); exe.linkLibC();