File tree 3 files changed +515
-0
lines changed
3 files changed +515
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ ecdh_example
11
11
ecdsa_example
12
12
schnorr_example
13
13
ellswift_example
14
+ silentpayments_example
14
15
* .exe
15
16
* .so
16
17
* .a
Original file line number Diff line number Diff line change @@ -195,6 +195,17 @@ ellswift_example_LDFLAGS += -lbcrypt
195
195
endif
196
196
TESTS += ellswift_example
197
197
endif
198
+ if ENABLE_MODULE_SILENTPAYMENTS
199
+ noinst_PROGRAMS += silentpayments_example
200
+ silentpayments_example_SOURCES = examples/silentpayments.c
201
+ silentpayments_example_CPPFLAGS = -I$(top_srcdir ) /include -DSECP256K1_STATIC
202
+ silentpayments_example_LDADD = libsecp256k1.la
203
+ silentpayments_example_LDFLAGS = -static
204
+ if BUILD_WINDOWS
205
+ silentpayments_example_LDFLAGS += -lbcrypt
206
+ endif
207
+ TESTS += silentpayments_example
208
+ endif
198
209
endif
199
210
200
211
# ## Precomputed tables
You can’t perform that action at this time.
0 commit comments