Mercurial > hg > bitcoin
diff src/makefile.unix @ 2323:9fc52dc07f53 draft
Define TEST_DATA_DIR so unit tests can be run from any current working directory
author | Gavin Andresen <gavinandresen@gmail.com> |
---|---|
date | Thu, 26 Apr 2012 11:20:44 -0400 |
parents | fd09fd11692a |
children | 8aabf0bbe78f |
line wrap: on
line diff
--- a/src/makefile.unix +++ b/src/makefile.unix @@ -9,6 +9,8 @@ DEFS += $(addprefix -I,$(CURDIR) $(CURDIR)/obj $(BOOST_INCLUDE_PATH) $(BDB_INCLUDE_PATH) $(OPENSSL_INCLUDE_PATH)) LIBS = $(addprefix -L,$(BOOST_LIB_PATH) $(BDB_LIB_PATH) $(OPENSSL_LIB_PATH)) +TESTDEFS = -DTEST_DATA_DIR=$(abspath test/data) + LMODE = dynamic LMODE2 = dynamic ifdef STATIC