mirror of
https://github.com/jedisct1/minisign.git
synced 2025-04-03 19:07:41 +03:00
parent
4dd6fbf632
commit
d5a2f02bc0
1 changed files with 2 additions and 2 deletions
|
@ -60,11 +60,11 @@ pub fn build(b: *std.Build) !void {
|
|||
override_pkgconfig = true;
|
||||
}
|
||||
|
||||
for ([_][]const u8{ "/opt/homebrew/include", "/usr/local/include" }) |path| {
|
||||
for ([_][]const u8{ "/opt/homebrew/include", "/home/linuxbrew/.linuxbrew/include", "/usr/local/include" }) |path| {
|
||||
std.fs.accessAbsolute(path, .{}) catch continue;
|
||||
minisign.addSystemIncludePath(.{ .cwd_relative = path });
|
||||
}
|
||||
for ([_][]const u8{ "/opt/homebrew/lib", "/usr/local/lib" }) |path| {
|
||||
for ([_][]const u8{ "/opt/homebrew/lib", "/home/linuxbrew/.linuxbrew/lib", "/usr/local/lib" }) |path| {
|
||||
std.fs.accessAbsolute(path, .{}) catch continue;
|
||||
minisign.addLibraryPath(.{ .cwd_relative = path });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue