Bug#989958: libopencv-*-dev: Missing pkg-config file (.pc)
Jochen Sprickerhof
jspricke at debian.org
Mon Jun 21 19:43:14 BST 2021
* Alejandro Colomar (man-pages) <alx.manpages at gmail.com> [2021-06-21 17:35]:
>Maybe Debian could write separate pkg-config files, and maybe offer
>them to upstream OpenCV (I offer myself to help write them if you
>decide it's a good idea).
It's easier if you talk to upstream about this directly. Adding them to
Debian only would be incompatible with other distros and be of limited
use.
>Yes, for linking against the shared libraries, that's all you need:
>link against the module you want. BUT, if you want to try to link
>against the static library (and now I'm talking from memory (it's been
>a year since I tried to do that, and I don't remember the result, I
>only remember a bunch of errors)), you'll need to know which libraries
>you need, which is the magic of pkg-config.
Static linking should work fine without pkg-config as well, except that
you would have to list all dependencies, but looking at the opencv4.pc I
guess they are incomplete anyhow ;).
Cheers Jochen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20210621/257155ba/attachment.sig>
More information about the debian-science-maintainers
mailing list