author | kergoth <kergoth> | 2002-11-05 23:27:42 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-11-05 23:27:42 (UTC) |
commit | cc85b20f907834b72222b15189698b4c48b53ee6 (patch) (unidiff) | |
tree | bb51e9083cef979cedba86dd2c6b33a2eb50792c | |
parent | 76f38e36b7a875a1763d1e6ce5e00cc8dd736263 (diff) | |
download | opie-cc85b20f907834b72222b15189698b4c48b53ee6.zip opie-cc85b20f907834b72222b15189698b4c48b53ee6.tar.gz opie-cc85b20f907834b72222b15189698b4c48b53ee6.tar.bz2 |
prefer qt-mt, fallback to qt
-rw-r--r-- | scripts/kconfig/Makefile | 6 |
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 | |||
@@ -19,15 +19,13 @@ endif | |||
19 | endif | 19 | endif |
20 | 20 | ||
21 | ifndef QTLIB | 21 | ifndef QTLIB |
22 | ifeq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt.so ]; then echo foundit; fi),foundit) | ||
23 | QTLIB=-lqt | ||
24 | else | ||
25 | ifeq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt-mt.so ]; then echo foundit; fi),foundit) | 22 | ifeq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt-mt.so ]; then echo foundit; fi),foundit) |
26 | QTLIB=-lqt-mt | 23 | QTLIB=-lqt-mt |
27 | else | 24 | else |
28 | QTLIB=-lqt | 25 | ifneq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt.so ]; then echo foundit; fi),foundit) |
29 | $(warning Unable to locate libqt.so!) | 26 | $(warning Unable to locate libqt.so!) |
30 | endif | 27 | endif |
28 | QTLIB=-lqt | ||
31 | endif | 29 | endif |
32 | endif | 30 | endif |
33 | 31 | ||