summaryrefslogtreecommitdiff
path: root/lib/talloc
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 /lib/talloc
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 'lib/talloc')
-rw-r--r--lib/talloc/pytalloc-util.pc.in2
-rw-r--r--lib/talloc/talloc.pc.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/talloc/pytalloc-util.pc.in b/lib/talloc/pytalloc-util.pc.in
index b17b373755..bc704b4929 100644
--- a/lib/talloc/pytalloc-util.pc.in
+++ b/lib/talloc/pytalloc-util.pc.in
@@ -7,5 +7,5 @@ Name: pytalloc-util
Description: Utility functions for using talloc objects with Python
Version: @TALLOC_VERSION@
Libs: -L${libdir} -lpytalloc-util
-Cflags: -I${includedir}
+Cflags: @LIB_RPATH@ -I${includedir}
URL: http://talloc.samba.org/
diff --git a/lib/talloc/talloc.pc.in b/lib/talloc/talloc.pc.in
index 5ce2109866..437281a69a 100644
--- a/lib/talloc/talloc.pc.in
+++ b/lib/talloc/talloc.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
Name: talloc
Description: A hierarchical pool based memory system with destructors
Version: @TALLOC_VERSION@
-Libs: -L${libdir} -ltalloc
+Libs: @LIB_RPATH@ -L${libdir} -ltalloc
Cflags: -I${includedir}
URL: http://talloc.samba.org/