• Luca Boccassi's avatar
    Problem: pkg-config Requires.private is broken · 06d810b4
    Luca Boccassi authored
    Solution: use only Libs.private to avoid breaking application builds.
    Even though Requires.private are supposed to be parsed only if
    pkg-config is called with --static, the --cflags parameter is enough
    to trigger the parsing, causing build failures for applications that
    do not (and should not) depend on libzmq's dependencies.
    06d810b4
libzmq.pc.cmake.in 332 Bytes
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include

Name: libzmq
Description: 0MQ c++ library
Version: @ZMQ_VERSION_MAJOR@.@ZMQ_VERSION_MINOR@.@ZMQ_VERSION_PATCH@
Libs: -L${libdir} -lzmq
Libs.private: -lstdc++ @pkg_config_libs_private@
Cflags: -I${includedir} @pkg_config_defines@