summaryrefslogtreecommitdiff
path: root/scripts/kconfig/Makefile
Side-by-side diff
Diffstat (limited to 'scripts/kconfig/Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--scripts/kconfig/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index caad231..6782d4a 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -16,21 +16,19 @@ ifeq ($(shell if [ -e /usr/lib/qt ]; then echo foundit; fi),foundit)
HOSTQTDIR=/usr/lib/qt
endif
endif
endif
ifndef QTLIB
-ifeq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt.so ]; then echo foundit; fi),foundit)
-QTLIB=-lqt
-else
ifeq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt-mt.so ]; then echo foundit; fi),foundit)
QTLIB=-lqt-mt
else
-QTLIB=-lqt
+ifneq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt.so ]; then echo foundit; fi),foundit)
$(warning Unable to locate libqt.so!)
endif
+QTLIB=-lqt
endif
endif
MOC=$(wildcard $(HOSTQTDIR)/bin/moc)
parse_SRC=zconf.y