diff --git a/conf.pri.in b/conf.pri.in index e0b03c76f..8a70db2d7 100644 --- a/conf.pri.in +++ b/conf.pri.in @@ -6,8 +6,14 @@ DATADIR = @EXPAND_DATADIR@ MANPREFIX = @EXPAND_MANDIR@ QMAKE_CXXFLAGS += @QBT_CONF_EXTRA_CFLAGS@ -INCLUDEPATH += @QBT_CONF_INCLUDES@ -LIBS += @LDFLAGS@ @LIBS@ + +EXTERNAL_INCLUDES = @QBT_CONF_INCLUDES@ +EXTERNAL_INCLUDES -= $$QMAKE_DEFAULT_INCDIRS +INCLUDEPATH += $$EXTERNAL_INCLUDES + +EXTERNAL_LIBS = @LDFLAGS@ @LIBS@ +EXTERNAL_LIBS -= $$QMAKE_DEFAULT_LIBDIRS +LIBS += $$EXTERNAL_LIBS CONFIG += @QBT_ADD_CONFIG@ CONFIG -= @QBT_REMOVE_CONFIG@