From f506aa9200f422b7723a3c4c24db59de94c7968e Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Thu, 27 Jul 2023 17:36:21 +0200 Subject: [PATCH] bppp/build: Fix linkage of benchmark --- src/modules/bppp/Makefile.am.include | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/bppp/Makefile.am.include b/src/modules/bppp/Makefile.am.include index 13e8ea03d..de90e06e9 100644 --- a/src/modules/bppp/Makefile.am.include +++ b/src/modules/bppp/Makefile.am.include @@ -8,6 +8,6 @@ noinst_HEADERS += src/modules/bppp/tests_impl.h if USE_BENCHMARK noinst_PROGRAMS += bench_bppp bench_bppp_SOURCES = src/bench_bppp.c -bench_bppp_LDADD = libsecp256k1.la $(SECP_LIBS) -bench_bppp_LDFLAGS = -static +bench_bppp_LDADD = libsecp256k1.la +bench_bppp_CPPFLAGS = $(SECP_CONFIG_DEFINES) endif