This is an automated email from the ASF dual-hosted git repository.

junouyang pushed a commit to branch bump/http
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/bump/http by this push:
     new 63c778cc4 chore(core): fix zig build error
63c778cc4 is described below

commit 63c778cc4f08494c0f3af026dad9f9e7c1dbb8c9
Author: owl <[email protected]>
AuthorDate: Tue Aug 1 00:39:14 2023 +0800

    chore(core): fix zig build error
---
 bindings/zig/build.zig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bindings/zig/build.zig b/bindings/zig/build.zig
index 82dd877c5..9d85755ae 100644
--- a/bindings/zig/build.zig
+++ b/bindings/zig/build.zig
@@ -47,9 +47,9 @@ pub fn build(b: *std.Build) void {
     unit_tests.addIncludePath(.{ .path = "../c/include" });
     unit_tests.addModule("opendal", module(b));
     if (optimize == .Debug) {
-        unit_tests.addLibraryPath("../../target/debug");
+        unit_tests.addLibraryPath(.{ .path = "../../target/debug"});
     } else {
-        unit_tests.addLibraryPath("../../target/release");
+        unit_tests.addLibraryPath(.{ .path = "../../target/release"});
     }
     unit_tests.linkSystemLibrary("opendal_c");
     unit_tests.linkLibCpp();

Reply via email to