Danny Milosavljevic <[email protected]> writes: > I'm trying to package libgit2-glib and gnome-builder. > > - libgit2 has openssl as input. > - libgit2-glib installs a pkg-config file. > - gnome-builder uses libgit2-glib . > > Something always complains about missing openssl parts. > > For example I can get > Package 'openssl', required by 'libgit2', not found > when building libgit2-glib. > > Almost whatever else I do instead, the error wanders around in the DAG. > > In order to make it work I added openssl as a propagated input in > libgit2-glib. This does work. > > But is it the right fix?
This depends on the pkg-config file that the library installs. If this file contains a section that lists other libraries as private, then propagation is probably the correct approach. ~~ Ricardo
