Skip to content

Commit 7ebaa13

Browse files
committed
check-abi: remove support for obsolete CMake library output location (src/libsecp256k1.so)
The CMake library output location was changed from "src/" to "lib/" in PR #1553, supporting the old location shouldn't be necessary anymore.
1 parent 03fb60a commit 7ebaa13

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

tools/check-abi.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,7 @@ checkout_and_build() {
4949
-DSECP256K1_BUILD_CTIME_TESTS=OFF \
5050
-DSECP256K1_BUILD_EXAMPLES=OFF
5151
cmake --build . -j "$(nproc)"
52-
# FIXME: Just set LIBPATH to lib/libsecp256k1.so once version 0.6.0 is
53-
# released.
54-
if [ -f "src/libsecp256k1.so" ]; then
55-
LIBPATH="src/libsecp256k1.so"
56-
else
57-
LIBPATH="lib/libsecp256k1.so"
58-
fi
59-
abi-dumper $LIBPATH -o ABI.dump -lver "$2" -public-headers ../include/
52+
abi-dumper lib/libsecp256k1.so -o ABI.dump -lver "$2" -public-headers ../include/
6053
cd "$_orig_dir"
6154
}
6255

0 commit comments

Comments
 (0)