Skip to content

Commit

Permalink
Removed C:\MinGW\bin from PATH #13
Browse files Browse the repository at this point in the history
  • Loading branch information
mxklb committed Oct 12, 2018
1 parent d07b3c1 commit 9f597b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ install:

build_script:
- if [%tbs_tools%]==[msvc14] if [%tbs_arch%]==[x64] SET PATH=%PATH%;C:\Qt\5.9\msvc2015\bin;
- if [%tbs_tools%]==[mingw] if [%tbs_arch%]==[x32] SET PATH=%PATH%;C:\MinGW\bin;C:\Qt\5.9.5\mingw53_32\bin;
- if [%tbs_tools%]==[mingw] if [%tbs_arch%]==[x32] SET PATH=%PATH%;C:\Qt\5.9.5\mingw53_32\bin;
- echo "catchTests=false" > globals.pri
- qmake cuteproject.pro -r CONFIG+=%BUILD_TYPE%
- jom
Expand Down
6 changes: 2 additions & 4 deletions libs/loadlibs.pri
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,11 @@ for(lib, customLibs) {
PRE_TARGETDEPS += $${OUTDIR}/$${WINDIR}/$${LIBNAME}.$${LIB_EXTENSION}
}
gcc {
LIB_EXTENSION = lib
LIBS += $${OUTDIR}/$${WINDIR}/$${LIBNAME}.$${LIB_EXTENSION}
PRE_TARGETDEPS += $${OUTDIR}/$${WINDIR}/$${LIBNAME}.$${LIB_EXTENSION}
LIBS += $${OUTDIR}/$${WINDIR}/lib$${LIBNAME}.$${LIB_EXTENSION}
PRE_TARGETDEPS += $${OUTDIR}/$${WINDIR}/lib$${LIBNAME}.$${LIB_EXTENSION}
}
}
unix:!macx {
LIBS += -L$${OUTDIR}/ -l$${LIBNAME}
PRE_TARGETDEPS += $${OUTDIR}/lib$${LIBNAME}.$${LIB_EXTENSION}
QMAKE_LFLAGS += "-Wl,-rpath,\'$$OUTDIR\'"
}
Expand Down

0 comments on commit 9f597b1

Please sign in to comment.