Skip to content

Commit

Permalink
configure: use proper separator for mingw libraries
Browse files Browse the repository at this point in the history
Change-Id: Ic328691fe2f08e918c1bb67910521d85b274a8fd
Fixes: QTBUG-73466
Reviewed-by: Kai Koehne <[email protected]>
Reviewed-by: Joerg Bornemann <[email protected]>
  • Loading branch information
ericLemanissier committed Feb 12, 2019
1 parent 3b87ecc commit fd88c15
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mkspecs/features/toolchain.prf
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,10 @@ isEmpty($${target_prefix}.INCDIRS) {
line ~= s/^[ \\t]*// # remove leading spaces
contains(line, "LIBRARY_PATH=.*") {
line ~= s/^LIBRARY_PATH=// # remove leading LIBRARY_PATH=
paths = $$split(line, $$QMAKE_DIRLIST_SEP)
equals(QMAKE_HOST.os, Windows): \
paths = $$split(line, ;)
else: \
paths = $$split(line, $$QMAKE_DIRLIST_SEP)
for (path, paths): \
QMAKE_DEFAULT_LIBDIRS += $$clean_path($$path)
} else: contains(line, "Library search paths:") {
Expand Down

0 comments on commit fd88c15

Please sign in to comment.