projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ce344b
)
selftests/bpf: Override PKG_CONFIG for static builds
author
Akihiko Odaki
<akihiko.odaki@daynix.com>
Sat, 25 Nov 2023 08:42:51 +0000
(17:42 +0900)
committer
Andrii Nakryiko
<andrii@kernel.org>
Wed, 29 Nov 2023 06:15:29 +0000
(22:15 -0800)
A library may need to depend on additional archive files for static
builds so pkg-config should be instructed to list them.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link:
https://lore.kernel.org/bpf/20231125084253.85025-3-akihiko.odaki@daynix.com
tools/testing/selftests/bpf/README.rst
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/bpf/README.rst
b/tools/testing/selftests/bpf/README.rst
index cb9b95702ac6de9bb1808c784649d2a677acc9c4..9af79c7a9b58d47e23da9ca8f1e21734d95f9b0b 100644
(file)
--- a/
tools/testing/selftests/bpf/README.rst
+++ b/
tools/testing/selftests/bpf/README.rst
@@
-77,7
+77,7
@@
In case of linker errors when running selftests, try using static linking:
.. code-block:: console
- $ LDLIBS=-static vmtest.sh
+ $ LDLIBS=-static
PKG_CONFIG='pkg-config --static'
vmtest.sh
.. note:: Some distros may not support static linking.