Skip to content

Commit 2f9ca28

Browse files
committed
Drop SECP_CONFIG_DEFINES from examples
User applications shouldn't need or rely on `SECP_CONFIG_DEFINES`.
1 parent 31ed538 commit 2f9ca28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile.am

+3-3
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ endif
149149
if USE_EXAMPLES
150150
noinst_PROGRAMS += ecdsa_example
151151
ecdsa_example_SOURCES = examples/ecdsa.c
152-
ecdsa_example_CPPFLAGS = -I$(top_srcdir)/include $(SECP_CONFIG_DEFINES)
152+
ecdsa_example_CPPFLAGS = -I$(top_srcdir)/include
153153
ecdsa_example_LDADD = libsecp256k1.la
154154
ecdsa_example_LDFLAGS = -static
155155
if BUILD_WINDOWS
@@ -159,7 +159,7 @@ TESTS += ecdsa_example
159159
if ENABLE_MODULE_ECDH
160160
noinst_PROGRAMS += ecdh_example
161161
ecdh_example_SOURCES = examples/ecdh.c
162-
ecdh_example_CPPFLAGS = -I$(top_srcdir)/include $(SECP_CONFIG_DEFINES)
162+
ecdh_example_CPPFLAGS = -I$(top_srcdir)/include
163163
ecdh_example_LDADD = libsecp256k1.la
164164
ecdh_example_LDFLAGS = -static
165165
if BUILD_WINDOWS
@@ -170,7 +170,7 @@ endif
170170
if ENABLE_MODULE_SCHNORRSIG
171171
noinst_PROGRAMS += schnorr_example
172172
schnorr_example_SOURCES = examples/schnorr.c
173-
schnorr_example_CPPFLAGS = -I$(top_srcdir)/include $(SECP_CONFIG_DEFINES)
173+
schnorr_example_CPPFLAGS = -I$(top_srcdir)/include
174174
schnorr_example_LDADD = libsecp256k1.la
175175
schnorr_example_LDFLAGS = -static
176176
if BUILD_WINDOWS

0 commit comments

Comments
 (0)