Skip to content

Commit 480ec16

Browse files
committed
fix generated header include
1 parent e31027a commit 480ec16

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

build.zig

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -489,11 +489,8 @@ fn buildRocksDB(
489489
.PROJECT_VERSION_PATCH = 2,
490490
.HAVE_SYS_UIO_H_01 = 1,
491491
});
492-
libsnappy.addCSourceFile(.{
493-
.file = build_version.getOutput(),
494-
.language = .cpp,
495-
.flags = &flags,
496-
});
492+
493+
libsnappy.addIncludePath(build_version.getOutput().dirname());
497494
}
498495

499496
// platform dependent stuff

0 commit comments

Comments
 (0)