Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Masahiro Yamada <masahiroy@kernel.org>

+1 -1
+1 -1
scripts/kconfig/qconf-cfg.sh
··· 11 11 fi 12 12 13 13 if pkg-config --exists $PKG; then 14 - echo cflags=\"-std=c++11 -fPIC $(pkg-config --cflags Qt5Core Qt5Gui Qt5Widgets)\" 14 + echo cflags=\"-std=c++11 -fPIC $(pkg-config --cflags $PKG)\" 15 15 echo libs=\"$(pkg-config --libs $PKG)\" 16 16 echo moc=\"$(pkg-config --variable=host_bins Qt5Core)/moc\" 17 17 exit 0