]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
github: Enable BFD backtraces for Botan build with LD
authorTobias Brunner <tobias@strongswan.org>
Tue, 13 May 2025 05:52:50 +0000 (07:52 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 28 Jul 2025 08:28:15 +0000 (10:28 +0200)
A change in 3.8.* prevents symbols from getting resolved otherwise.

scripts/test.sh

index de665ed8fa87b5f6d3f4347fc66a014471c53858..d58fa8406d74ce83842f5c4b26235f4047bcd7af 100755 (executable)
@@ -253,6 +253,10 @@ botan)
        CONFIG="--disable-defaults --enable-pki --enable-botan --enable-pem --enable-hmac --enable-x509 --enable-constraints --enable-drbg"
        export TESTS_PLUGINS="test-vectors botan! pem hmac x509 constraints drbg"
        DEPS=""
+       if [ "$LEAK_DETECTIVE" = "yes" ]; then
+               CONFIG="$CONFIG --enable-bfd-backtraces"
+               DEPS="$DEPS binutils-dev"
+       fi
        if test "$1" = "build-deps"; then
                build_botan
        fi