summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2013-08-28 13:28:29 -0400
committerAnand Avati <avati@redhat.com>2013-08-28 15:23:47 -0700
commit8fcf91b51ccd457d417e71c401f6e6af1dffc607 (patch)
treed387fced9ff3abd92bebab63b3bb1d455c9aafe9
parentbbefeffafe9a2a5ba493e4bc0c9c9480d577e881 (diff)
api: glusterfs-api.pc.in (and libgfchangelog.pc.in) use rpath (-Wl,-R...)
Change-Id: Icdd23f1c31421c882db106cdad1b1406569594ca BUG: 1002220 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/5717 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
-rw-r--r--glusterfs-api.pc.in2
-rw-r--r--libgfchangelog.pc.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/glusterfs-api.pc.in b/glusterfs-api.pc.in
index 23c73bc9a6b..5252a6f409e 100644
--- a/glusterfs-api.pc.in
+++ b/glusterfs-api.pc.in
@@ -8,5 +8,5 @@ Name: glusterfs-api
Description: GlusterFS API
/* This is the API version, NOT package version */
Version: 5
-Libs: -Wl,-R${libdir} -L${libdir} -lgfapi -lglusterfs -lgfrpc -lgfxdr
+Libs: -L${libdir} -lgfapi -lglusterfs -lgfrpc -lgfxdr
Cflags: -I${includedir}/glusterfs -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64
diff --git a/libgfchangelog.pc.in b/libgfchangelog.pc.in
index 869e587aae5..d654280d056 100644
--- a/libgfchangelog.pc.in
+++ b/libgfchangelog.pc.in
@@ -7,5 +7,5 @@ includedir=@includedir@
Name: libgfchangelog
Description: GlusterFS Changelog Consumer Library
Version: @VERSION@
-Libs: -Wl,-R${libdir} -L${libdir} -lgfchangelog -lglusterfs
+Libs: -L${libdir} -lgfchangelog -lglusterfs
Cflags: -I${includedir}/glusterfs/gfchangelog -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64