From e707d29dd601bbe691175b72686caeaea29b1cbc Mon Sep 17 00:00:00 2001 From: Vegard Nossum Date: Sun, 31 Jul 2011 20:00:38 +0200 Subject: Fix testing setup There were some problems with the existing testing setup: - Makefile rules for test-file compilation used CFLAGS instead of CXXFLAGS in makefile.unix --- src/makefile.osx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/makefile.osx') diff --git a/src/makefile.osx b/src/makefile.osx index 89788562c3..699911d4e6 100644 --- a/src/makefile.osx +++ b/src/makefile.osx @@ -79,7 +79,7 @@ bitcoind: $(OBJS:obj/%=obj/nogui/%) obj/test/%.o: test/%.cpp $(HEADERS) $(CXX) -c $(CFLAGS) -o $@ $< -test_bitcoin: obj/test/test_bitcoin.o +test_bitcoin: obj/test/test_bitcoin.o $(filter-out obj/nogui/init.o,$(OBJS:obj/%=obj/nogui/%)) $(CXX) $(CFLAGS) -o $@ $(LIBPATHS) $^ $(LIBS) -lboost_unit_test_framework clean: -- cgit v1.2.3