summaryrefslogtreecommitdiff
path: root/lib/tevent/wscript
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-12-07 11:57:57 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-12-07 15:07:48 +0100
commitfbfd155a324d7dcdeebde28aad45fcf09465e968 (patch)
treeff984020faae70658bca622b5d3eae50d21dd734 /lib/tevent/wscript
parent3adc4f5545cba9ba1b328fedbefede0a65852c52 (diff)
downloadsamba-fbfd155a324d7dcdeebde28aad45fcf09465e968.tar.gz
samba-fbfd155a324d7dcdeebde28aad45fcf09465e968.tar.bz2
samba-fbfd155a324d7dcdeebde28aad45fcf09465e968.zip
Add version attribute for pytevent.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Dec 7 15:07:49 CET 2011 on sn-devel-104
Diffstat (limited to 'lib/tevent/wscript')
-rw-r--r--lib/tevent/wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tevent/wscript b/lib/tevent/wscript
index d240630b6a..f98253f806 100644
--- a/lib/tevent/wscript
+++ b/lib/tevent/wscript
@@ -96,7 +96,8 @@ def build(bld):
bld.SAMBA_PYTHON('pytevent',
'pytevent.c',
deps='tevent',
- realname='_tevent.so')
+ realname='_tevent.so',
+ cflags='-DPACKAGE_VERSION=\"%s\"' % VERSION)
# install out various python scripts for use by make test
bld.SAMBA_SCRIPT('tevent_python',
pattern='tevent.py',