mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 16:24:51 +00:00
Merge pull request #19958 from ziglang/macho-check-object
Step.CheckObject: add support for dumping raw section contents for MachO
This commit is contained in:
commit
6a65561e3e
File diff suppressed because it is too large
Load Diff
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user