diff options
| author | Gavin Andresen <[email protected]> | 2012-04-26 11:20:44 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-04-26 11:20:44 -0400 |
| commit | 9e71a5cd236e0b6639f55f2f6520aaa06eac0523 (patch) | |
| tree | dd2cd93d14ce0df5798ab6d539eedc016e768d53 /src/makefile.unix | |
| parent | Undo part of c2e8c8ac to fix issue#1148 (diff) | |
| download | discoin-9e71a5cd236e0b6639f55f2f6520aaa06eac0523.tar.xz discoin-9e71a5cd236e0b6639f55f2f6520aaa06eac0523.zip | |
Define TEST_DATA_DIR so unit tests can be run from any current working directory
Diffstat (limited to 'src/makefile.unix')
| -rw-r--r-- | src/makefile.unix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/makefile.unix b/src/makefile.unix index fc901ca02..146f6b8eb 100644 --- a/src/makefile.unix +++ b/src/makefile.unix @@ -9,6 +9,8 @@ DEFS=-DNOPCH 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 |