diff mbox

Fix QT4 moc, cflags libs detection on dual QT3/Qt4 systems

Message ID 20100913115122.GA20546@sepie.suse.cz (mailing list archive)
State New, archived
Headers show

Commit Message

Michal Marek Sept. 13, 2010, 11:51 a.m. UTC
None
diff mbox

Patch

diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 996059e..3fbfe98 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -273,8 +273,8 @@  $(obj)/.tmp_qtcheck:
 	      moc="/usr/bin/moc"; \
 	    fi; \
 	else \
-	  cflags="\$$(shell pkg-config QtCore --cflags) \$$(shell pkg-config QtGui --cflags) \$$(shell pkg-config Qt3Support --cflags)"; \
-	  libs="\$$(shell pkg-config QtCore --libs) \$$(shell pkg-config QtGui --libs) \$$(shell pkg-config Qt3Support --libs)"; \
+	  cflags="\$$(shell pkg-config QtCore QtGui Qt3Support --cflags)"; \
+	  libs="\$$(shell pkg-config QtCore QtGui Qt3Support --libs)"; \
 	  binpath="\$$(shell pkg-config QtCore --variable=prefix)"; \
 	  moc="$$binpath/bin/moc"; \
 	fi; \