projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b67564
)
kconfig: qconf: use a variable to pass packages to pkg-config
author
Masahiro Yamada
<masahiroy@kernel.org>
Sat, 24 Oct 2020 12:38:40 +0000
(21:38 +0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Tue, 8 Dec 2020 14:31:29 +0000
(23:31 +0900)
The variable, PKG, is defined at the beginning of this script.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/qconf-cfg.sh
patch
|
blob
|
history
diff --git
a/scripts/kconfig/qconf-cfg.sh
b/scripts/kconfig/qconf-cfg.sh
index d1eb2407c35d08a6857491634f4ced045814a163..fa564cd795b7c09d671764d89d38acc6a577e7f7 100755
(executable)
--- a/
scripts/kconfig/qconf-cfg.sh
+++ b/
scripts/kconfig/qconf-cfg.sh
@@
-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