File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ endif
151151endif
152152
153153if USE_ECMULT_STATIC_PRECOMPUTATION
154- CPPFLAGS_FOR_BUILD +=-I$(top_srcdir )
154+ CPPFLAGS_FOR_BUILD +=-I$(top_srcdir ) -I $( builddir ) /src
155155
156156gen_context_OBJECTS = gen_context.o
157157gen_context_BIN = gen_context$(BUILD_EXEEXT )
Original file line number Diff line number Diff line change 44 * file COPYING or http://www.opensource.org/licenses/mit-license.php.*
55 **********************************************************************/
66
7- #include "libsecp256k1-config.h" // for ECMULT_GEN_PREC_BITS
7+ // Autotools creates libsecp256k1-config.h, of which ECMULT_GEN_PREC_BITS is needed.
8+ // ifndef guard so downstream users can define their own if they do not use autotools.
9+ #if !defined(ECMULT_GEN_PREC_BITS )
10+ #include "libsecp256k1-config.h"
11+ #endif
812#define USE_BASIC_CONFIG 1
913#include "basic-config.h"
1014
You can’t perform that action at this time.
0 commit comments