build: Fix linkage of extra binaries in -zkp modules

This commit is contained in:
Tim Ruffing
2023-07-28 11:28:58 +02:00
parent 9e96a2e9d8
commit 54b37db953
4 changed files with 7 additions and 8 deletions

View File

@@ -8,6 +8,6 @@ noinst_HEADERS += src/modules/rangeproof/tests_impl.h
if USE_BENCHMARK
noinst_PROGRAMS += bench_rangeproof
bench_rangeproof_SOURCES = src/bench_rangeproof.c
bench_rangeproof_LDADD = libsecp256k1.la $(SECP_LIBS)
bench_rangeproof_LDFLAGS = -static
bench_rangeproof_LDADD = libsecp256k1.la
bench_rangeproof_CPPFLAGS = $(SECP_CONFIG_DEFINES)
endif