Use && instead of ; in leveldb calls to makefile.
This commit is contained in:
parent
c13f5dbecf
commit
3b4f8ad71d
5 changed files with 6 additions and 6 deletions
|
@ -95,13 +95,13 @@ contains(BITCOIN_NEED_QT_PLUGINS, 1) {
|
||||||
INCLUDEPATH += src/leveldb/include src/leveldb/helpers
|
INCLUDEPATH += src/leveldb/include src/leveldb/helpers
|
||||||
LIBS += $$PWD/src/leveldb/libleveldb.a $$PWD/src/leveldb/libmemenv.a
|
LIBS += $$PWD/src/leveldb/libleveldb.a $$PWD/src/leveldb/libmemenv.a
|
||||||
!windows {
|
!windows {
|
||||||
genleveldb.commands = cd $$PWD/src/leveldb ; $(MAKE) libleveldb.a libmemenv.a
|
genleveldb.commands = cd $$PWD/src/leveldb && $(MAKE) libleveldb.a libmemenv.a
|
||||||
} else {
|
} else {
|
||||||
# make an educated guess about what the ranlib command is called
|
# make an educated guess about what the ranlib command is called
|
||||||
isEmpty(QMAKE_RANLIB) {
|
isEmpty(QMAKE_RANLIB) {
|
||||||
QMAKE_RANLIB = $$replace(QMAKE_STRIP, strip, ranlib)
|
QMAKE_RANLIB = $$replace(QMAKE_STRIP, strip, ranlib)
|
||||||
}
|
}
|
||||||
genleveldb.commands = cd $$PWD/src/leveldb ; CC=$$QMAKE_CC CXX=$$QMAKE_CXX TARGET_OS=OS_WINDOWS_CROSSCOMPILE CXXFLAGS="-I$$BOOST_INCLUDE_PATH" LDFLAGS="-L$$BOOST_LIB_PATH" $(MAKE) libleveldb.a libmemenv.a ; $$QMAKE_RANLIB $$PWD/src/leveldb/libleveldb.a ; $$QMAKE_RANLIB $$PWD/src/leveldb/libmemenv.a
|
genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX TARGET_OS=OS_WINDOWS_CROSSCOMPILE CXXFLAGS="-I$$BOOST_INCLUDE_PATH" LDFLAGS="-L$$BOOST_LIB_PATH" $(MAKE) libleveldb.a libmemenv.a && $$QMAKE_RANLIB $$PWD/src/leveldb/libleveldb.a && $$QMAKE_RANLIB $$PWD/src/leveldb/libmemenv.a
|
||||||
}
|
}
|
||||||
genleveldb.target = $$PWD/src/leveldb/libleveldb.a
|
genleveldb.target = $$PWD/src/leveldb/libleveldb.a
|
||||||
genleveldb.depends = FORCE
|
genleveldb.depends = FORCE
|
||||||
|
|
|
@ -92,7 +92,7 @@ LIBS += $(CURDIR)/leveldb/libleveldb.a $(CURDIR)/leveldb/libmemenv.a
|
||||||
DEFS += -I"$(CURDIR)/leveldb/include"
|
DEFS += -I"$(CURDIR)/leveldb/include"
|
||||||
DEFS += -I"$(CURDIR)/leveldb/helpers"
|
DEFS += -I"$(CURDIR)/leveldb/helpers"
|
||||||
leveldb/libleveldb.a:
|
leveldb/libleveldb.a:
|
||||||
@echo "Building LevelDB ..."; cd leveldb; TARGET_OS=OS_WINDOWS_CROSSCOMPILE CXXFLAGS="-I$(INCLUDEPATHS)" LDFLAGS="-L$(LIBPATHS)" make libleveldb.a libmemenv.a; cd ..
|
@echo "Building LevelDB ..." && cd leveldb && TARGET_OS=OS_WINDOWS_CROSSCOMPILE CXXFLAGS="-I$(INCLUDEPATHS)" LDFLAGS="-L$(LIBPATHS)" make libleveldb.a libmemenv.a && cd ..
|
||||||
obj/leveldb.o: leveldb/libleveldb.a
|
obj/leveldb.o: leveldb/libleveldb.a
|
||||||
|
|
||||||
obj/build.h: FORCE
|
obj/build.h: FORCE
|
||||||
|
|
|
@ -95,7 +95,7 @@ LIBS += $(CURDIR)/leveldb/libleveldb.a $(CURDIR)/leveldb/libmemenv.a
|
||||||
DEFS += $(addprefix -I,$(CURDIR)/leveldb/include)
|
DEFS += $(addprefix -I,$(CURDIR)/leveldb/include)
|
||||||
DEFS += $(addprefix -I,$(CURDIR)/leveldb/helpers)
|
DEFS += $(addprefix -I,$(CURDIR)/leveldb/helpers)
|
||||||
leveldb/libleveldb.a:
|
leveldb/libleveldb.a:
|
||||||
cd leveldb; make libleveldb.a libmemenv.a; cd ..
|
cd leveldb && make libleveldb.a libmemenv.a && cd ..
|
||||||
obj/leveldb.o: leveldb/libleveldb.lib
|
obj/leveldb.o: leveldb/libleveldb.lib
|
||||||
|
|
||||||
obj/%.o: %.cpp $(HEADERS)
|
obj/%.o: %.cpp $(HEADERS)
|
||||||
|
|
|
@ -128,7 +128,7 @@ LIBS += $(CURDIR)/leveldb/libleveldb.a $(CURDIR)/leveldb/libmemenv.a
|
||||||
DEFS += $(addprefix -I,$(CURDIR)/leveldb/include)
|
DEFS += $(addprefix -I,$(CURDIR)/leveldb/include)
|
||||||
DEFS += $(addprefix -I,$(CURDIR)/leveldb/helpers)
|
DEFS += $(addprefix -I,$(CURDIR)/leveldb/helpers)
|
||||||
leveldb/libleveldb.a:
|
leveldb/libleveldb.a:
|
||||||
@echo "Building LevelDB ..."; cd leveldb; make libleveldb.a libmemenv.a; cd ..
|
@echo "Building LevelDB ..." && cd leveldb && make libleveldb.a libmemenv.a && cd ..
|
||||||
obj/leveldb.o: leveldb/libleveldb.a
|
obj/leveldb.o: leveldb/libleveldb.a
|
||||||
|
|
||||||
# auto-generated dependencies:
|
# auto-generated dependencies:
|
||||||
|
|
|
@ -144,7 +144,7 @@ LIBS += $(CURDIR)/leveldb/libleveldb.a $(CURDIR)/leveldb/libmemenv.a
|
||||||
DEFS += $(addprefix -I,$(CURDIR)/leveldb/include)
|
DEFS += $(addprefix -I,$(CURDIR)/leveldb/include)
|
||||||
DEFS += $(addprefix -I,$(CURDIR)/leveldb/helpers)
|
DEFS += $(addprefix -I,$(CURDIR)/leveldb/helpers)
|
||||||
leveldb/libleveldb.a:
|
leveldb/libleveldb.a:
|
||||||
@echo "Building LevelDB ..."; cd leveldb; make libleveldb.a libmemenv.a; cd ..;
|
@echo "Building LevelDB ..." && cd leveldb && make libleveldb.a libmemenv.a && cd ..
|
||||||
obj/leveldb.o: leveldb/libleveldb.a
|
obj/leveldb.o: leveldb/libleveldb.a
|
||||||
|
|
||||||
# auto-generated dependencies:
|
# auto-generated dependencies:
|
||||||
|
|
Loading…
Reference in a new issue