Skip to content

Commit

Permalink
build: link all binaries against static libs
Browse files Browse the repository at this point in the history
These have apparently been missing since first added.
  • Loading branch information
theuni committed May 4, 2022
1 parent cde8e77 commit c35782d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ if USE_BENCHMARK
noinst_PROGRAMS += bench bench_internal bench_ecmult
bench_SOURCES = src/bench.c
bench_LDADD = libsecp256k1.la $(SECP_LIBS) $(SECP_TEST_LIBS) $(COMMON_LIB)
bench_LDFLAGS = -static
bench_internal_SOURCES = src/bench_internal.c
bench_internal_LDADD = $(SECP_LIBS) $(COMMON_LIB) $(PRECOMPUTED_LIB)
bench_internal_CPPFLAGS = $(SECP_INCLUDES)
Expand All @@ -118,6 +119,7 @@ tests_CPPFLAGS += -DVALGRIND
noinst_PROGRAMS += valgrind_ctime_test
valgrind_ctime_test_SOURCES = src/valgrind_ctime_test.c
valgrind_ctime_test_LDADD = libsecp256k1.la $(SECP_LIBS) $(COMMON_LIB)
valgrind_ctime_test_LDFLAGS = -static
endif
if !ENABLE_COVERAGE
tests_CPPFLAGS += -DVERIFY
Expand Down

0 comments on commit c35782d

Please sign in to comment.