Skip to content

Commit 811785c

Browse files
committed
[Build] Make sure Boost headers are included for libzerocoin
Custom boost locations not using pkg_config can result in a header include not being found when compiling the libzerocoin library. This quick fix ensures that the `BOOST_CPPFLAGS` are explicitely included.
1 parent 732fa37 commit 811785c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ crypto_libbitcoin_crypto_a_SOURCES = \
324324
crypto/sph_types.h
325325

326326
# libzerocoin library
327-
libzerocoin_libbitcoin_zerocin_a_CPPFLAGS = $(AM_CPPFLAGS)
327+
libzerocoin_libbitcoin_zerocin_a_CPPFLAGS = $(AM_CPPFLAGS) $(BOOST_CPPFLAGS)
328328
libzerocoin_libbitcoin_zerocin_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
329329
libzerocoin_libbitcoin_zerocoin_a_SOURCES = \
330330
libzerocoin/Accumulator.h \

0 commit comments

Comments
 (0)