Skip to content

Commit

Permalink
Update bindings build script to include vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
stuxnot committed Sep 24, 2024
1 parent a0f2985 commit c7859c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def get_llvm_include_dir(self) -> str:
Pybind11Extension(
name="nyxstone_cpp",
sources=srcs,
include_dirs=["nyxstone-cpp/include/", "nyxstone-cpp/src/", llvm_inc_dir],
include_dirs=["nyxstone-cpp/include/", "nyxstone-cpp/vendor", "nyxstone-cpp/src/", llvm_inc_dir],
libraries=llvm_libs,
library_dirs=[llvm_lib_dir],
extra_link_args=[
Expand Down
1 change: 1 addition & 0 deletions bindings/rust/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ fn main() {
cxx_build::bridge("src/lib.rs")
.flag_if_supported("-std=c++17")
.include("nyxstone/include")
.include("nyxstone/vendor")
.include(llvm_include_dir.trim())
// .include(cxxbridge_dir)
.files(sources)
Expand Down

0 comments on commit c7859c7

Please sign in to comment.