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:18 +0200 |
commit | 7742a651a837c126e387112af57acf7e700fdf81 (patch) | |
tree | 66fa6dc82397cad0894fb6de92dea72fb90a188b | |
parent | c58ed147fb21d2d4c1c07d07433c996251d71752 (diff) | |
download | openvswitch-7742a651a837c126e387112af57acf7e700fdf81.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} |