diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 9c4d856..ab08819 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -39,6 +39,9 @@ jobs: conda config --show-sources conda config --show printenv | sort + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX + export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$CONDA_PREFIX + export PATH=$PATH:$CONDA_PREFIX - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable - name: Build diff --git a/blosc2-sys/build.rs b/blosc2-sys/build.rs index d4cdaa3..04b78cf 100644 --- a/blosc2-sys/build.rs +++ b/blosc2-sys/build.rs @@ -36,7 +36,7 @@ fn main() { for linkpath in lib.link_paths { println!("cargo:rustc-link-search={}", linkpath.display()); } - println!("cargo:rustc-link-lib=dylib=blosc2"); + println!("cargo:rustc-link-lib=blosc2"); format!("{}/blosc2.h", lib.include_paths[0].display()) } };