The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libtirpc / 0007-pkg-config-needs-pthread-as-private-library.patch
1 From 308705710d40ced3ea2a913d24ab99cc61bef01f Mon Sep 17 00:00:00 2001
2 From: "Yann E. MORIN" <yann.morin.1998@free.fr>
3 Date: Sun, 5 Apr 2015 18:11:25 +0200
4 Subject: [PATCH] pkg-config: needs pthread as private library
5
6 libtirpc needs pthreads. This is automatically pulled in when linking
7 with the shared library, thanks to the DT_NEEDED ELF tags.
8
9 But for a static library, there is no such mechanism to identify
10 required libraries.
11
12 Thus, add -pthread to the private libraries in the pkg-config file.
13
14 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
15 ---
16 Patch sent upstream:
17     http://sourceforge.net/p/libtirpc/mailman/message/33072076/
18
19 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
20 ---
21  libtirpc.pc.in | 1 +
22  1 file changed, 1 insertion(+)
23
24 diff --git a/libtirpc.pc.in b/libtirpc.pc.in
25 index ec4cf75..1dc85ea 100644
26 --- a/libtirpc.pc.in
27 +++ b/libtirpc.pc.in
28 @@ -8,4 +8,5 @@ Description: Transport Independent RPC Library
29  Requires:
30  Version: @PACKAGE_VERSION@
31  Libs: -L@libdir@ -ltirpc
32 +Libs.private: -pthread
33  Cflags: -I@includedir@/tirpc
34 -- 
35 2.1.0
36