Skip to content

Commit

Permalink
whitelist: add SECP_INCLUDES to bench_whitelist CPPFLAGS
Browse files Browse the repository at this point in the history
This will fix the following compile error on macOS

In file included from src/num.h:17,
                 from src/num_impl.h:14,
                 from src/bench_whitelist.c:14:
src/num_gmp.h:10:10: fatal error: gmp.h: No such file or directory
  • Loading branch information
jonasnick committed Mar 10, 2021
1 parent 649bf20 commit 79d4c3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/whitelist/Makefile.am.include
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ noinst_HEADERS += src/modules/whitelist/tests_impl.h
if USE_BENCHMARK
noinst_PROGRAMS += bench_whitelist
bench_whitelist_SOURCES = src/bench_whitelist.c
bench_whitelist_CPPFLAGS = -DSECP256K1_BUILD $(SECP_INCLUDES)
bench_whitelist_LDADD = libsecp256k1.la $(SECP_LIBS)
bench_generator_LDFLAGS = -static
endif

0 comments on commit 79d4c3a

Please sign in to comment.