File tree Expand file tree Collapse file tree 3 files changed +429
-0
lines changed Expand file tree Collapse file tree 3 files changed +429
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ ctime_tests
1010ecdh_example
1111ecdsa_example
1212schnorr_example
13+ silentpayments_example
1314* .exe
1415* .so
1516* .a
Original file line number Diff line number Diff line change @@ -184,6 +184,17 @@ schnorr_example_LDFLAGS += -lbcrypt
184184endif
185185TESTS += schnorr_example
186186endif
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
187198endif
188199
189200# ## Precomputed tables
You can’t perform that action at this time.
0 commit comments