Merge bitcoin-core/secp256k1#1185: Drop `SECP_CONFIG_DEFINES` from examples
2f9ca284e2
Drop `SECP_CONFIG_DEFINES` from examples (Hennadii Stepanov) Pull request description: User applications shouldn't need or rely on `SECP_CONFIG_DEFINES`. See https://github.com/bitcoin-core/secp256k1/pull/1178#discussion_r1059457252. ACKs for top commit: sipa: utACK2f9ca284e2
real-or-random: utACK2f9ca284e2
Tree-SHA512: c8e81e6842b31e7f4ebcbb18d5962f7d7308f024025d6225330a7ec099739278bb43ad98243698c5802bcc49bf7e247ab7cae7f40008fbba87f0d0e46cbe1e85
This commit is contained in:
commit
2a39ac162e
|
@ -149,7 +149,7 @@ endif
|
||||||
if USE_EXAMPLES
|
if USE_EXAMPLES
|
||||||
noinst_PROGRAMS += ecdsa_example
|
noinst_PROGRAMS += ecdsa_example
|
||||||
ecdsa_example_SOURCES = examples/ecdsa.c
|
ecdsa_example_SOURCES = examples/ecdsa.c
|
||||||
ecdsa_example_CPPFLAGS = -I$(top_srcdir)/include $(SECP_CONFIG_DEFINES)
|
ecdsa_example_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
ecdsa_example_LDADD = libsecp256k1.la
|
ecdsa_example_LDADD = libsecp256k1.la
|
||||||
ecdsa_example_LDFLAGS = -static
|
ecdsa_example_LDFLAGS = -static
|
||||||
if BUILD_WINDOWS
|
if BUILD_WINDOWS
|
||||||
|
@ -159,7 +159,7 @@ TESTS += ecdsa_example
|
||||||
if ENABLE_MODULE_ECDH
|
if ENABLE_MODULE_ECDH
|
||||||
noinst_PROGRAMS += ecdh_example
|
noinst_PROGRAMS += ecdh_example
|
||||||
ecdh_example_SOURCES = examples/ecdh.c
|
ecdh_example_SOURCES = examples/ecdh.c
|
||||||
ecdh_example_CPPFLAGS = -I$(top_srcdir)/include $(SECP_CONFIG_DEFINES)
|
ecdh_example_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
ecdh_example_LDADD = libsecp256k1.la
|
ecdh_example_LDADD = libsecp256k1.la
|
||||||
ecdh_example_LDFLAGS = -static
|
ecdh_example_LDFLAGS = -static
|
||||||
if BUILD_WINDOWS
|
if BUILD_WINDOWS
|
||||||
|
@ -170,7 +170,7 @@ endif
|
||||||
if ENABLE_MODULE_SCHNORRSIG
|
if ENABLE_MODULE_SCHNORRSIG
|
||||||
noinst_PROGRAMS += schnorr_example
|
noinst_PROGRAMS += schnorr_example
|
||||||
schnorr_example_SOURCES = examples/schnorr.c
|
schnorr_example_SOURCES = examples/schnorr.c
|
||||||
schnorr_example_CPPFLAGS = -I$(top_srcdir)/include $(SECP_CONFIG_DEFINES)
|
schnorr_example_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
schnorr_example_LDADD = libsecp256k1.la
|
schnorr_example_LDADD = libsecp256k1.la
|
||||||
schnorr_example_LDFLAGS = -static
|
schnorr_example_LDFLAGS = -static
|
||||||
if BUILD_WINDOWS
|
if BUILD_WINDOWS
|
||||||
|
|
Loading…
Reference in New Issue