summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-03 23:26:35 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:24 +1000
commit2bf15566c629587992fa3c71cc5261f2cea300be (patch)
treede580858e5d225b810fe619028c16700b4feeb1d /lib
parent23ff97e629eb5dc12caadeb690603691221bc92d (diff)
downloadsamba-2bf15566c629587992fa3c71cc5261f2cea300be.tar.gz
samba-2bf15566c629587992fa3c71cc5261f2cea300be.tar.bz2
samba-2bf15566c629587992fa3c71cc5261f2cea300be.zip
talloc-waf: install talloc.pc if standalone
Diffstat (limited to 'lib')
-rw-r--r--lib/talloc/wscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/talloc/wscript b/lib/talloc/wscript
index d5b547f3a2..e61d8344d6 100644
--- a/lib/talloc/wscript
+++ b/lib/talloc/wscript
@@ -23,6 +23,8 @@ def configure(conf):
implied_deps='replace'):
conf.define('USING_SYSTEM_TALLOC', 1)
+ conf.env.standalone_talloc = conf.IN_LAUNCH_DIR()
+
conf.SAMBA_CONFIG_H()
@@ -42,3 +44,9 @@ def build(bld):
'testsuite_main.c testsuite.c',
deps='talloc',
install=False)
+
+ if bld.env.standalone_talloc:
+ bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig'
+ bld.env.TALLOC_VERSION = VERSION
+ bld.PKG_CONFIG_FILES('talloc.pc', vnum=VERSION)
+