check-abi: explicitly provide public headers

Without this commit, the check-abi shell script outputs false positives because
it consider some headers public that are actually not public.
This commit is contained in:
Jonas Nick
2024-05-06 16:28:01 +00:00
parent bb528cfb08
commit dd695563e6

View File

@@ -49,7 +49,7 @@ checkout_and_build() {
-DSECP256K1_BUILD_CTIME_TESTS=OFF \
-DSECP256K1_BUILD_EXAMPLES=OFF
cmake --build . -j "$(nproc)"
abi-dumper src/libsecp256k1.so -o ABI.dump -lver "$2"
abi-dumper src/libsecp256k1.so -o ABI.dump -lver "$2" -public-headers ../include/
cd "$_orig_dir"
}