mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 15:26:04 +00:00
libzmq: Fix pkg-config files for static linking
Libzmq uses C++ standard library features, so users of it should link against that as well when statically linking. Add it to Libs.private so users using pkg-config automatically gets the correct linker flags. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
4c36c93a31
commit
e89577d30c
@ -7,4 +7,5 @@ Name: libzmq
|
||||
Description: 0MQ c++ library
|
||||
Version: @ZMQ_VERSION_MAJOR@.@ZMQ_VERSION_MINOR@.@ZMQ_VERSION_PATCH@
|
||||
Libs: -L${libdir} -lzmq
|
||||
Libs.private: -lstdc++
|
||||
Cflags: -I${includedir}
|
||||
|
@ -7,4 +7,5 @@ Name: libzmq
|
||||
Description: 0MQ c++ library
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lzmq
|
||||
Libs.private: -lstdc++
|
||||
Cflags: -I${includedir}
|
||||
|
Loading…
x
Reference in New Issue
Block a user