]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools build: Correct link flags for libopenssl
authorLeo Yan <leo.yan@arm.com>
Tue, 17 Mar 2026 18:58:00 +0000 (18:58 +0000)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 26 Mar 2026 21:21:56 +0000 (14:21 -0700)
commit5c980ab238c8a9e2b24221603f11eadc98a7f45e
tree5c8afeb5cb59bda4ed16ed949ce0f36ef5d08513
parent54fcc7f6ec3944ae7c1b0246a999744e33839cdb
tools build: Correct link flags for libopenssl

The perf static build reports that the BPF skeleton is disabled due to
the missing libopenssl feature.

Use PKG_CONFIG to determine the link flags for libopenssl.  Add
"--static" to the PKG_CONFIG command for static linking.

Fixes: 7678523109d1 ("tools/build: Add a feature test for libopenssl")
Signed-off-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/build/feature/Makefile