11acec26aea202ce4ce56e2ba1b04531a395694e
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / zeromq / 0003-libzmq-Fix-pkg-config-files-for-static-linking.patch
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
5
6 Libzmq uses C++ standard library features, so users of it should link
7 against that as well when statically linking.
8
9 Add it to Libs.private so users using pkg-config automatically gets the
10 correct linker flags.
11
12 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
13 ---
14  src/libzmq.pc.in       | 1 +
15  1 file changed, 1 insertions(+)
16
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
23  Version: @VERSION@
24  Libs: -L${libdir} -lzmq
25 +Libs.private: -lstdc++
26  Cflags: -I${includedir}
27 -- 
28 2.1.4
29