Bugfix: makefile.unix: Honour BOOST_LIB_SUFFIX on boost_unit_test_framework
This commit is contained in:
parent
7e2d850b12
commit
3a9c2d51e1
1 changed files with 5 additions and 1 deletions
|
@ -36,6 +36,10 @@ LIBS += \
|
||||||
-l ssl \
|
-l ssl \
|
||||||
-l crypto
|
-l crypto
|
||||||
|
|
||||||
|
TESTLIBS += \
|
||||||
|
-Wl,-B$(LMODE) \
|
||||||
|
-l boost_unit_test_framework$(BOOST_LIB_SUFFIX)
|
||||||
|
|
||||||
ifndef USE_UPNP
|
ifndef USE_UPNP
|
||||||
override USE_UPNP = -
|
override USE_UPNP = -
|
||||||
endif
|
endif
|
||||||
|
@ -179,7 +183,7 @@ obj-test/%.o: test/%.cpp
|
||||||
rm -f $(@:%.o=%.d)
|
rm -f $(@:%.o=%.d)
|
||||||
|
|
||||||
test_bitcoin: $(TESTOBJS) $(filter-out obj/init.o,$(OBJS:obj/%=obj/%))
|
test_bitcoin: $(TESTOBJS) $(filter-out obj/init.o,$(OBJS:obj/%=obj/%))
|
||||||
$(LINK) $(xCXXFLAGS) -o $@ $(LIBPATHS) $^ -Wl,-B$(LMODE) -lboost_unit_test_framework $(xLDFLAGS) $(LIBS)
|
$(LINK) $(xCXXFLAGS) -o $@ $(LIBPATHS) $^ $(TESTLIBS) $(xLDFLAGS) $(LIBS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -f bitcoind test_bitcoin
|
-rm -f bitcoind test_bitcoin
|
||||||
|
|
Loading…
Reference in a new issue