git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23ff97e
)
talloc-waf: install talloc.pc if standalone
author
Andrew Tridgell
<tridge@samba.org>
Sat, 3 Apr 2010 12:26:35 +0000
(23:26 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Apr 2010 10:27:24 +0000
(20:27 +1000)
lib/talloc/wscript
patch
|
blob
|
history
diff --git
a/lib/talloc/wscript
b/lib/talloc/wscript
index d5b547f3a2e6c20d76a232c7c0c8c4f00d7849e2..e61d8344d6f1ef2391ff7a33e046cd6c27b830d7 100644
(file)
--- 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)
+