Commit 7cd01587 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kconfig: qconf: use a variable to pass packages to pkg-config



The variable, PKG, is defined at the beginning of this script.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 7b675649
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ if [ -z "$(command -v pkg-config)" ]; then
fi

if pkg-config --exists $PKG; then
	echo cflags=\"-std=c++11 -fPIC $(pkg-config --cflags Qt5Core Qt5Gui Qt5Widgets)\"
	echo cflags=\"-std=c++11 -fPIC $(pkg-config --cflags $PKG)\"
	echo libs=\"$(pkg-config --libs $PKG)\"
	echo moc=\"$(pkg-config --variable=host_bins Qt5Core)/moc\"
	exit 0