openSUSE / libsolv

Library for solving packages and reading repositories
http://en.opensuse.org/openSUSE:Libzypp_satsolver
Other
517 stars 152 forks source link

Specify link dependencies for static build #566

Open bzeller opened 3 months ago

bzeller commented 3 months ago

For static linking we need to specify the link dependencies via the pkg-config and FindLibSolv.cmake files as well, so statically linked application can refer to them.

Conan-Kudo commented 1 month ago

Hopefully this will let me get rid of my hack in the DNF build scripts to deal with static libsolv, though I still don't know why we just don't ship libsolv as a shared library (everyone else does...).