Skip to content

Commit

Permalink
check-abi: explicitly provide public headers
Browse files Browse the repository at this point in the history
Without this commit, the check-abi shell script outputs false positives because
it consider some headers public that are actually not public.
  • Loading branch information
jonasnick committed May 6, 2024
1 parent bb528cf commit dd69556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/check-abi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit dd69556

Please sign in to comment.