Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a dependency on zck to librepo.pc if zchunk support is enabled
If librepo is built with zchunk support, zchunk's zck.h header file is included from librepo public header files, thus applications building against librepo needs zchunk header files available at build time. Those who only use pkg-config for tracking dependencies, reported build failures: /usr/include/librepo/downloadtarget.h:27:10: fatal error: zck.h: No such file or directory This patch adds the dependency on zck to librepo.pc. A drawback is that then pkg-config adds -lzck to "pkg-config --libs lirepo" and leads to overlinking. There is no non-library kind of dependency in pkg-config. (Ideal solution would be if pkg-config supported those dependencies, or if zck provided a non-library pkg-config file in addition to zck.pc.) Fixes: #305
- Loading branch information