Skip to content

Commit

Permalink
qmake: don't assign fallbacks for QMAKE_DEFAULT_{INC,LIB}DIRS in x-bu…
Browse files Browse the repository at this point in the history
…ilds

these cannot be possibly correct, and might mislead.

Change-Id: Ie10531807978def04768e2429304949415cafb2a
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
  • Loading branch information
ossilator committed Dec 14, 2018
1 parent 9d76bee commit 74cdd89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkspecs/features/toolchain.prf
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ isEmpty($${target_prefix}.INCDIRS) {
QMAKE_DEFAULT_INCDIRS = $$split(INCLUDE, $$QMAKE_DIRLIST_SEP)
}

unix {
unix:if(!cross_compile|host_build) {
isEmpty(QMAKE_DEFAULT_INCDIRS): QMAKE_DEFAULT_INCDIRS = /usr/include /usr/local/include
isEmpty(QMAKE_DEFAULT_LIBDIRS): QMAKE_DEFAULT_LIBDIRS = /lib /usr/lib
}
Expand Down

0 comments on commit 74cdd89

Please sign in to comment.