Skip to content

Commit

Permalink
include dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxxen committed Jun 3, 2024
1 parent 373bc03 commit d3daf7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/libduckdb-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ mod build_bundled {

cfg.include(lib_name);

cfg.includes(include_dirs.iter().map(|x| format!("{}/{}", lib_name, x)));

#[cfg(feature = "httpfs")]
{
if let Ok((_, openssl_include_dir)) = super::openssl::get_openssl_v2() {
Expand All @@ -148,6 +146,8 @@ mod build_bundled {
add_extension(&mut cfg, &manifest, "httpfs", &mut cpp_files, &mut include_dirs);
}

cfg.includes(include_dirs.iter().map(|x| format!("{}/{}", lib_name, x)));

for f in cpp_files {
cfg.file(f);
}
Expand Down

0 comments on commit d3daf7a

Please sign in to comment.