Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Below are the contents of libkiwix.pc and kiwix.pc files generated using the new and old approaches, respectively, for native_dyn and native_static configurations: ``` $ cat BUILD_native_dyn/INSTALL/lib/x86_64-linux-gnu/pkgconfig/libkiwix.pc prefix=<REDACTED> includedir=${prefix}/include libdir=${prefix}/lib/x86_64-linux-gnu Name: libkiwix Description: A library that contains useful primitives that Kiwix readers have in common Version: 14.0.0 Requires.private: icu-i18n, libzim < 10.0.0, libzim >= 9.0.0, pugixml, libcurl, libmicrohttpd, zlib, xapian-core Libs: -L${prefix}/lib/x86_64-linux-gnu -lkiwix Libs.private: -pthread Cflags: -I${includedir} $ cat BUILD_native_dyn/INSTALL/lib/x86_64-linux-gnu/pkgconfig/kiwix.pc prefix=<REDACTED> libdir=${prefix}/lib64 includedir=${prefix}/include Name: libkiwix Description: A library that contains a lot of things used by used by other kiwix programs Version: 14.0.0 Requires: libzim icu-i18n pugixml libcurl libmicrohttpd xapian-core Libs: -L${libdir} -lkiwix Cflags: -I${includedir}/ $ cat BUILD_native_static/INSTALL/lib/x86_64-linux-gnu/pkgconfig/libkiwix.pc prefix=<REDACTED> includedir=${prefix}/include libdir=${prefix}/lib/x86_64-linux-gnu Name: libkiwix Description: A library that contains useful primitives that Kiwix readers have in common Version: 14.0.0 Requires: icu-i18n, libzim < 10.0.0, libzim >= 9.0.0, pugixml, libcurl, libmicrohttpd, zlib, xapian-core Libs: -L${prefix}/lib/x86_64-linux-gnu -lkiwix -pthread Cflags: -I${includedir} -pthread $ cat BUILD_native_static/INSTALL/lib/x86_64-linux-gnu/pkgconfig/kiwix.pc prefix=<REDACTED> libdir=${prefix}/lib64 includedir=${prefix}/include Name: libkiwix Description: A library that contains a lot of things used by used by other kiwix programs Version: 14.0.0 Requires: libzim icu-i18n pugixml libcurl libmicrohttpd xapian-core Libs: -L${libdir} -lkiwix Cflags: -I${includedir}/ ``` The notable differences are: - libdir changed from `${prefix}/lib64` to `${prefix}/lib/x86_64-linux-gnu` - for native_dyn configuration Requires.private is used - pthread has appeared in Libs/Libs.private and/or Cflags - version information was added to the libzim requirement
- Loading branch information