aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.osx
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@gmail.com>2011-07-31 20:00:38 +0200
committerGavin Andresen <gavinandresen@gmail.com>2011-08-08 14:31:08 -0400
commite707d29dd601bbe691175b72686caeaea29b1cbc (patch)
tree81f0d487000519207776a75b9d679ee0f36aa41f /src/makefile.osx
parent02962ba848d1f7d58fe0f12a783400fc15e7260b (diff)
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
Diffstat (limited to 'src/makefile.osx')
-rw-r--r--src/makefile.osx2
1 files changed, 1 insertions, 1 deletions
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: