1 From e89577d30c278fba0f9e40266ceb6fb2821907d5 Mon Sep 17 00:00:00 2001
2 From: Peter Korsgaard <peter@korsgaard.com>
3 Date: Wed, 13 May 2015 08:01:34 +0200
4 Subject: [PATCH] libzmq: Fix pkg-config files for static linking
6 Libzmq uses C++ standard library features, so users of it should link
7 against that as well when statically linking.
9 Add it to Libs.private so users using pkg-config automatically gets the
12 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
14 src/libzmq.pc.in | 1 +
15 1 file changed, 1 insertions(+)
17 diff --git a/src/libzmq.pc.in b/src/libzmq.pc.in
18 index ba155a3..52a39f7 100644
19 --- a/src/libzmq.pc.in
20 +++ b/src/libzmq.pc.in
21 @@ -7,4 +7,5 @@ Name: libzmq
22 Description: 0MQ c++ library
24 Libs: -L${libdir} -lzmq
25 +Libs.private: -lstdc++
26 Cflags: -I${includedir}