File tree 3 files changed +429
-0
lines changed
3 files changed +429
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ ctime_tests
10
10
ecdh_example
11
11
ecdsa_example
12
12
schnorr_example
13
+ silentpayments_example
13
14
* .exe
14
15
* .so
15
16
* .a
Original file line number Diff line number Diff line change @@ -184,6 +184,17 @@ schnorr_example_LDFLAGS += -lbcrypt
184
184
endif
185
185
TESTS += schnorr_example
186
186
endif
187
+ if ENABLE_MODULE_SILENTPAYMENTS
188
+ noinst_PROGRAMS += silentpayments_example
189
+ silentpayments_example_SOURCES = examples/silentpayments.c
190
+ silentpayments_example_CPPFLAGS = -I$(top_srcdir ) /include -DSECP256K1_STATIC
191
+ silentpayments_example_LDADD = libsecp256k1.la
192
+ silentpayments_example_LDFLAGS = -static
193
+ if BUILD_WINDOWS
194
+ silentpayments_example_LDFLAGS += -lbcrypt
195
+ endif
196
+ TESTS += silentpayments_example
197
+ endif
187
198
endif
188
199
189
200
# ## Precomputed tables
You can’t perform that action at this time.
0 commit comments