1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

[Build] Use pkg-config only on linux.

This commit is contained in:
nowrep 2013-03-14 15:29:12 +01:00
parent ff55c915b3
commit 1e6b9a915d
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ win32-msvc* {
} }
# Check for pkg-config availability # Check for pkg-config availability
system(pkg-config --version > /dev/null) { !mac:unix:system(pkg-config --version > /dev/null) {
isEqual(QT_MAJOR_VERSION, 5) { isEqual(QT_MAJOR_VERSION, 5) {
MODNAME = Qt5WebKitWidgets MODNAME = Qt5WebKitWidgets
} }

View File

@ -9,7 +9,7 @@ SOURCES += $$PWD/qtwebkitplugin.cpp \
DEFINES *= QT_STATICPLUGIN DEFINES *= QT_STATICPLUGIN
unix:contains(DEFINES, USE_QTWEBKIT_2_3):system(pkg-config --exists hunspell) { !mac:unix:contains(DEFINES, USE_QTWEBKIT_2_3):system(pkg-config --exists hunspell) {
buildSpellcheck = true buildSpellcheck = true
LIBS += $$system(pkg-config --libs hunspell) LIBS += $$system(pkg-config --libs hunspell)
} }