From cc85b20f907834b72222b15189698b4c48b53ee6 Mon Sep 17 00:00:00 2001 From: kergoth Date: Tue, 05 Nov 2002 23:27:42 +0000 Subject: prefer qt-mt, fallback to qt --- (limited to 'scripts/kconfig') diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index caad231..6782d4a 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -19,15 +19,13 @@ 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 -- cgit v0.9.0.2