1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 17:52:10 +02: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
system(pkg-config --version > /dev/null) {
!mac:unix:system(pkg-config --version > /dev/null) {
isEqual(QT_MAJOR_VERSION, 5) {
MODNAME = Qt5WebKitWidgets
}

View File

@ -9,7 +9,7 @@ SOURCES += $$PWD/qtwebkitplugin.cpp \
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
LIBS += $$system(pkg-config --libs hunspell)
}