kconfig: Simplify Makefile for xconfig
authorMichal Marek <mmarek@suse.cz>
Mon, 13 Sep 2010 11:41:31 +0000 (13:41 +0200)
committerMichal Marek <mmarek@suse.cz>
Mon, 13 Sep 2010 11:41:31 +0000 (13:41 +0200)
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/Makefile

index 996059e..3fbfe98 100644 (file)
@@ -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; \