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:17 +0200 |
commit | 2de2ef224e1bfa2ffdc45fe7149022510106dd7c (patch) | |
tree | e8b181a82b0cb282069244e9dbf25d4443c0e1b3 | |
parent | bdf147c584f045247fa2fc49cd5b11fce692125e (diff) | |
download | openvswitch-2de2ef224e1bfa2ffdc45fe7149022510106dd7c.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} |