diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 707f28ee..323e77c5 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -336,7 +336,7 @@ jobs: cargo cinstall --offline --release --destdir=/tmp/cargo-cbuild-libz-rs tree /tmp/cargo-cbuild-libz-rs # verify that the SONAME is set and includes a version - objdump -p target/x86_64-unknown-linux-gnu/release/libz_rs.so | awk '/SONAME/{print $2}' | grep -E 'libz_rs\.so\.[0-9]+\.[0-9]+' + objdump -p target/x86_64-unknown-linux-gnu/release/libz_rs.so | awk '/SONAME/{print $2}' | grep -E 'libz_rs\.so\.1' # build zpipe with our library cc -o zpipe zpipe.c -L/tmp/cargo-cbuild-libz-rs/usr/local/lib/x86_64-linux-gnu -lz_rs export LD_LIBRARY_PATH=/tmp/cargo-cbuild-libz-rs/usr/local/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH diff --git a/libz-rs-sys-cdylib/Cargo.toml b/libz-rs-sys-cdylib/Cargo.toml index e3585cff..974ed6b2 100644 --- a/libz-rs-sys-cdylib/Cargo.toml +++ b/libz-rs-sys-cdylib/Cargo.toml @@ -25,6 +25,7 @@ capi = [] libz-rs-sys = { version = "0.4.0", path = "../libz-rs-sys", default-features = false } [package.metadata.capi.library] +version = "1.3.0" # the zlib api version we match name = "z_rs" [package.metadata.capi.header]