Commit 5cf2411
committed
build: always link statically against DPDK
DPDK always builds both shared and static libraries, regardless of the
default_library setting. The default_library option only controls how
applications are linked, not what DPDK produces.
In Buildroot, Meson libraries are built as shared by default and static
linking with glibc is not supported globally. However, linking our
application against the DPDK static library provides better performance.
Force static linking by using static: true on the DPDK dependency.
Signed-off-by: Maxime Leroy <[email protected]>1 parent 58a3ed9 commit 5cf2411
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
0 commit comments