mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-11-22 19:00:04 +08:00
5.15.14: backport of https://bugreports.qt.io/browse/QTBUG-117225 fix
This commit is contained in:
parent
8a35846338
commit
134b1cc523
@ -288,9 +288,12 @@ isEmpty($${target_prefix}.INCDIRS) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
isEmpty(QMAKE_DEFAULT_LIBDIRS)|isEmpty(QMAKE_DEFAULT_INCDIRS): \
|
isEmpty(QMAKE_DEFAULT_INCDIRS): \
|
||||||
!integrity: \
|
!integrity: \
|
||||||
error("failed to parse default search paths from compiler output")
|
error("failed to parse default include paths from compiler output")
|
||||||
|
isEmpty(QMAKE_DEFAULT_LIBDIRS): \
|
||||||
|
!integrity:!darwin: \
|
||||||
|
error("failed to parse default library paths from compiler output")
|
||||||
QMAKE_DEFAULT_LIBDIRS = $$unique(QMAKE_DEFAULT_LIBDIRS)
|
QMAKE_DEFAULT_LIBDIRS = $$unique(QMAKE_DEFAULT_LIBDIRS)
|
||||||
} else: ghs {
|
} else: ghs {
|
||||||
cmd = $$QMAKE_CXX $$QMAKE_CXXFLAGS -$${LITERAL_HASH} -o /tmp/fake_output /tmp/fake_input.cpp
|
cmd = $$QMAKE_CXX $$QMAKE_CXXFLAGS -$${LITERAL_HASH} -o /tmp/fake_output /tmp/fake_input.cpp
|
||||||
@ -412,7 +415,7 @@ isEmpty($${target_prefix}.INCDIRS) {
|
|||||||
QMAKE_DEFAULT_INCDIRS = $$split(INCLUDE, $$QMAKE_DIRLIST_SEP)
|
QMAKE_DEFAULT_INCDIRS = $$split(INCLUDE, $$QMAKE_DIRLIST_SEP)
|
||||||
}
|
}
|
||||||
|
|
||||||
unix:if(!cross_compile|host_build) {
|
unix:!darwin:if(!cross_compile|host_build) {
|
||||||
isEmpty(QMAKE_DEFAULT_INCDIRS): QMAKE_DEFAULT_INCDIRS = /usr/include /usr/local/include
|
isEmpty(QMAKE_DEFAULT_INCDIRS): QMAKE_DEFAULT_INCDIRS = /usr/include /usr/local/include
|
||||||
isEmpty(QMAKE_DEFAULT_LIBDIRS): QMAKE_DEFAULT_LIBDIRS = /lib /usr/lib
|
isEmpty(QMAKE_DEFAULT_LIBDIRS): QMAKE_DEFAULT_LIBDIRS = /lib /usr/lib
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user