Skip to content

Commit 2691cbc

Browse files
committed
qt5: Force macports default include path to be searched last
Allows outside includes to take precedence. In particular, this allows for a specified Qt to be used without clashing with macports' headers.
1 parent 8b0f608 commit 2691cbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ case $host in
191191
AC_CHECK_PROG([PORT],port, port)
192192
if test x$PORT = xport; then
193193
dnl add default macports paths
194-
CPPFLAGS="$CPPFLAGS -I/opt/local/include -I/opt/local/include/db48"
194+
CPPFLAGS="$CPPFLAGS -isystem /opt/local/include -I/opt/local/include/db48"
195195
LIBS="$LIBS -L/opt/local/lib -L/opt/local/lib/db48"
196196
fi
197197

0 commit comments

Comments
 (0)