Browse Source

kconfig: Simplify Makefile for xconfig

Signed-off-by: Michal Marek <mmarek@suse.cz>
Michal Marek 14 years ago
parent
commit
458452f4a9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/kconfig/Makefile

+ 2 - 2
scripts/kconfig/Makefile

@@ -273,8 +273,8 @@ $(obj)/.tmp_qtcheck:
 	      moc="/usr/bin/moc"; \
 	      moc="/usr/bin/moc"; \
 	    fi; \
 	    fi; \
 	else \
 	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)"; \
 	  binpath="\$$(shell pkg-config QtCore --variable=prefix)"; \
 	  moc="$$binpath/bin/moc"; \
 	  moc="$$binpath/bin/moc"; \
 	fi; \
 	fi; \