From e5911071a9b7787da443aa0410d30d9a059e7cd6 Mon Sep 17 00:00:00 2001 From: Alex Kwiatkowski Date: Mon, 12 Feb 2024 14:04:48 -1000 Subject: [PATCH] replace zig build addIncludeDir with addIncludePath --- build.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.zig b/build.zig index 9b05074..622c602 100644 --- a/build.zig +++ b/build.zig @@ -67,8 +67,8 @@ pub fn setupOdbcDependencies(step: *std.Build.Step.Compile) void { const odbc_library_name = if (builtin.os.tag == .windows) "odbc32" else "odbc"; if (builtin.os.tag == .macos) { - step.addIncludeDir("/usr/local/include"); - step.addIncludeDir("/usr/local/lib"); + step.addIncludePath(.{ .path = "/usr/local/include" }); + step.addIncludePath(.{ .path = "/usr/local/lib" }); } step.linkSystemLibrary(odbc_library_name); }