From fbfd155a324d7dcdeebde28aad45fcf09465e968 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 7 Dec 2011 11:57:57 +0100 Subject: Add version attribute for pytevent. Autobuild-User: Jelmer Vernooij Autobuild-Date: Wed Dec 7 15:07:49 CET 2011 on sn-devel-104 --- lib/tevent/wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/tevent/wscript') 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', -- cgit