Setup unit test environment.

This commit is contained in:
EinMByte 2015-07-16 22:28:57 +02:00
parent 4ce7b0e9ef
commit 5d78e2f5e4
8 changed files with 50 additions and 2 deletions

View file

@ -40,6 +40,9 @@ else
LDLIBS = -lcryptopp -lboost_system -lboost_date_time -lboost_filesystem -lboost_regex -lboost_program_options -lpthread
endif
# Always link with test framework dynamically
LDTESTLIBS = -lboost_unit_test_framework
# UPNP Support (miniupnpc 1.5 or 1.6)
ifeq ($(USE_UPNP),1)
LDFLAGS += -ldl