aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/glusterfs/files/glusterfs-api-remove-unnecessary-library-options.patch
blob: 2f140eaf4fef7f86a4590d332e7d777ecdb725c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 2ef09531d1d14cd64d5ba4ffbd9a99af10ae1ec4 Mon Sep 17 00:00:00 2001
From: "Hongzhi.Song" <hongzhi.song@windriver.com>
Date: Tue, 12 Mar 2019 19:37:51 -0700
Subject: [PATCH] glusterfs-api: remove unnecessary library options

These cause QA errors when users of the api such
as qemu generate their packages.  The reported
error is unnecessary or redundant RPATH specified.

Upstream-Status: Inappropriate [embedded specific]

Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
---
 glusterfs-api.pc.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/glusterfs-api.pc.in b/glusterfs-api.pc.in
index 6af4e10..01b9d0f 100644
--- a/glusterfs-api.pc.in
+++ b/glusterfs-api.pc.in
@@ -8,5 +8,5 @@ Description: GlusterFS API
 /* This is the API version, NOT package version */
 Version: @GFAPI_VERSION@
 Requires: @PKGCONFIG_UUID@
-Libs: -L${libdir} @GFAPI_LIBS@ -lgfapi -lglusterfs -lgfrpc -lgfxdr
+Libs: -lgfapi -lglusterfs -lgfrpc -lgfxdr
 Cflags: -I${includedir} -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -DUSE_POSIX_ACLS=@USE_POSIX_ACLS@
-- 
2.17.1