diff options
author | Ilya Maximets <i.maximets@ovn.org> | 2022-07-25 14:19:37 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-07-29 17:17:15 +0200 |
commit | de1decb451659cbe79ee9c656fbd94fcb656e2e3 (patch) | |
tree | 64bae977ee99d6a1b0ca94f577bc0ea24759249a | |
parent | 13b9fcf7ec390518bc0e9221b1ad497bd3066788 (diff) | |
download | openvswitch-de1decb451659cbe79ee9c656fbd94fcb656e2e3.tar.gz |
libopenvswitch.pc: Add missing libs for a static build.
SSL, BPF, lcap-ng and other libraries are in use by a static library,
so they has to be linked while building applications with that static
library, i.e. 'pkg-config --libs --static libopenvswitch' must return
-lssl, -lcap-ng, etc. in the output for a successful build.
For dynamic library (non-private Libs) all these libraries will be
dynamically linked to libopenvswitch.so, so the application will
pick them up without having a direct dependency.
Acked-by: Frode Nordahl <frode.nordahl@canonical.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
-rw-r--r-- | lib/libopenvswitch.pc.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libopenvswitch.pc.in b/lib/libopenvswitch.pc.in index 4c40a4caf..44fbb1f9f 100644 --- a/lib/libopenvswitch.pc.in +++ b/lib/libopenvswitch.pc.in @@ -7,5 +7,5 @@ Name: libopenvswitch Description: Open vSwitch library Version: @VERSION@ Libs: -L${libdir} -lopenvswitch -Libs.private: @LIBS@ +Libs.private: @LIBS@ @SSL_LIBS@ @CAPNG_LDADD@ @LIBBPF_LDADD@ Cflags: -I${includedir} |