aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.test.include
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2014-08-18 15:55:54 -0400
committerCory Fields <[email protected]>2014-08-18 16:10:15 -0400
commite432a5f08d75480753cf3cf81d656f0e1dd4da79 (patch)
tree7da3e4d1fb0d1beed9f975aa6e66cb988ccd22b2 /src/Makefile.test.include
parentMerge pull request #4704 (diff)
downloaddiscoin-e432a5f08d75480753cf3cf81d656f0e1dd4da79.tar.xz
discoin-e432a5f08d75480753cf3cf81d656f0e1dd4da79.zip
build: add option for reducing exports (v2)
This was committed previously as 4975ae172 and reverted, because the flags were applied even if the checks didn't pass. This is the same commit, fixed up to actually disable the functionality when necessary. Enabled automatically if boost >= 1.49. See: https://svn.boost.org/trac/boost/ticket/2309 Also, check for a default visibility attribute, so that we can mark future api functions correctly.
Diffstat (limited to 'src/Makefile.test.include')
-rw-r--r--src/Makefile.test.include1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.test.include b/src/Makefile.test.include
index b5fee0822..b54c9be66 100644
--- a/src/Makefile.test.include
+++ b/src/Makefile.test.include
@@ -75,6 +75,7 @@ if USE_LIBSECP256K1
endif
test_test_bitcoin_LDADD += $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS)
+test_test_bitcoin_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS)
nodist_test_test_bitcoin_SOURCES = $(GENERATED_TEST_FILES)