Boost paths fixed for building in Msys2-mingw

This commit is contained in:
Roy Jacobs 2017-03-04 04:23:20 +01:00
parent 27e8090096
commit b43f88cece

View file

@ -147,23 +147,29 @@ win32 {
# Win64 Host settings # Win64 Host settings
contains(QMAKE_HOST.arch, x86_64) { contains(QMAKE_HOST.arch, x86_64) {
message("Host is 64bit") message("Host is 64bit")
MSYS_PATH=c:/msys64/mingw32 MSYS_PATH=c:/msys64/mingw64
MSYS_MINGW_PATH=/mingw64
# boost root path # boost root path
BOOST_PATH=c:/msys64/mingw64/boost BOOST_PATH=c:/msys64/mingw64/boost
BOOST_MINGW_PATH=/mingw64/boost
# WIN32 Host settings # WIN32 Host settings
} else { } else {
message("Host is 32bit") message("Host is 32bit")
MSYS_PATH=c:/msys32/mingw32 MSYS_PATH=c:/msys32/mingw32
MSYS_MING_PATH=/mingw32
# boost root path # boost root path
BOOST_PATH=c:/msys32/mingw32/boost BOOST_PATH=c:/msys32/mingw32/boost
BOOST_MINGW_PATH=/mingw32/boost
} }
LIBS+=-L$$MSYS_PATH/lib LIBS+=-L$$MSYS_PATH/lib
LIBS+=-L$$MSYS_MINGW_PATH/lib
LIBS+=-L$$BOOST_PATH/lib LIBS+=-L$$BOOST_PATH/lib
LIBS+=-L$$BOOST_MINGW_PATH/lib
LIBS+= \ LIBS+= \
-Wl,-Bstatic \ -Wl,-Bstatic \