Skip to content

Commit 36e7695

Browse files
Merge #1738: check-abi: remove support for obsolete CMake library output location (src/libsecp256k1.so)
7ebaa13 check-abi: remove support for obsolete CMake library output location (src/libsecp256k1.so) (Sebastian Falbesoner) Pull request description: The CMake library output location was changed from "src/" to "lib/" in PR #1553, supporting the old location (presumably done to avoid having users to reconfigure existing CMake builds for a temporary transition window) shouldn't be necessary anymore. ACKs for top commit: real-or-random: utACK 7ebaa13 Tree-SHA512: 7a4e86260d9593ba4616590c927ae8753b007d51426a86eeb6f8fa35338cfa6c9b05d962f32d0d84a3271340edff2cd50f9180ce1357ab49b7850b58fa017192
2 parents 4985ac0 + 7ebaa13 commit 36e7695

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)