summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-12-08 20:41:37 +1100
committerAndrew Tridgell <tridge@samba.org>2010-12-08 12:46:00 +0100
commit735c1cd2da15167748e92ba6de48fdb5169db587 (patch)
treeeee410a2ad0cfcabe6b53f87a6fca7f635261b6a /librpc
parent8b3ae1a3b80a07f40d17a59e4f334e2df496b535 (diff)
downloadsamba-735c1cd2da15167748e92ba6de48fdb5169db587.tar.gz
samba-735c1cd2da15167748e92ba6de48fdb5169db587.tar.bz2
samba-735c1cd2da15167748e92ba6de48fdb5169db587.zip
s4-pkgconfig: add @LIB_RPATH@ to our link flags
this is only set when rpath is used on install. It ensures that applications that link against Samba libraries get the rpath right Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 8 12:46:00 CET 2010 on sn-devel-104
Diffstat (limited to 'librpc')
-rw-r--r--librpc/ndr.pc.in2
-rw-r--r--librpc/ndr_standard.pc.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/librpc/ndr.pc.in b/librpc/ndr.pc.in
index 9cff0ca218..f7a1651a48 100644
--- a/librpc/ndr.pc.in
+++ b/librpc/ndr.pc.in
@@ -7,5 +7,5 @@ Name: ndr
Description: Network Data Representation Core Library
Requires: samba-hostconfig talloc
Version: 0.0.1
-Libs: -L${libdir} -lndr
+Libs: @LIB_RPATH@ -L${libdir} -lndr
Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1
diff --git a/librpc/ndr_standard.pc.in b/librpc/ndr_standard.pc.in
index 80eace1bef..d400ef1da0 100644
--- a/librpc/ndr_standard.pc.in
+++ b/librpc/ndr_standard.pc.in
@@ -7,5 +7,5 @@ Name: ndr-standard
Description: NDR marshallers for the standard set of DCE/RPC interfaces
Requires: ndr
Version: 0.0.1
-Libs: -L${libdir} -lndr-standard
+Libs: @LIB_RPATH@ -L${libdir} -lndr-standard
Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1