Open Conan-Kudo opened 5 months ago
what are the hacks? the current idea is to statically link it into libzypp or libdnf
libsolvext
does not link properly as a static link library, that's why I have to watch what libsolvext is linked to and manually link them in to libdnf to make it work.
For reference:
I would really like to drop these, but that requires a dynamic link library build for libsolv and libsolvext.
Additionally, statically linking libsolv has the major downside that when libsolv updates are pushed, there is no guarantee that the enhancements will affect the package managers using it, particularly in SLE/Leap, where automatic reverse dependency rebuilds do not happen.
This simplifies things for interfacing with the library and ensures that when libsolv is updated that package managers get the correct functionality.
This also allows us to drop the hacks to deal with static libsolv for DNF in SUSE distributions.