aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/glusterfs/files/glusterfs-api-remove-unnecessary-library-options.patch
blob: 5b5497403d5b029d85433459cbe1a9b3fe6be3e9 (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
From 61075d7e4459e4cb9168d1c423ac56db240bb463 Mon Sep 17 00:00:00 2001
From: Jim Somerville <Jim.Somerville@windriver.com>
Date: Wed, 12 Feb 2014 15:41:50 +0000
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>

---
 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 5d23454..8a602f6 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}/glusterfs -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -DUSE_POSIX_ACLS=@USE_POSIX_ACLS@