summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2011-07-08 21:15:20 +0200
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2011-07-08 21:15:20 +0200
commitb1183fe34193527aece6a44dcd143c5a73dede71 (patch)
tree82e69b68696e0c05aaf6eff0db6628158a5d4ef5 /bindings
parent14b5c395cc3a4e9fcc0af456a5176f9a8a7cc897 (diff)
downloadlasso-b1183fe34193527aece6a44dcd143c5a73dede71.tar.gz
lasso-b1183fe34193527aece6a44dcd143c5a73dede71.tar.xz
lasso-b1183fe34193527aece6a44dcd143c5a73dede71.zip
Fix wrong version exported in the PHP binding
Diffstat (limited to 'bindings')
-rw-r--r--bindings/php5/wrapper_header.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bindings/php5/wrapper_header.py b/bindings/php5/wrapper_header.py
index 3bae4c0e..5f55f6b0 100644
--- a/bindings/php5/wrapper_header.py
+++ b/bindings/php5/wrapper_header.py
@@ -35,11 +35,13 @@ class WrapperHeader:
print >> self.fd, '''\
/* this file has been generated automatically; do not edit */
+#include "../../config.h"
+
#ifndef PHP_LASSO_H
#define PHP_LASSO_H 1
#define PHP_LASSO_EXTNAME "lasso"
-#define PHP_LASSO_VERSION "2.1.1"
+#define PHP_LASSO_VERSION VERSION
#define PHP_LASSO_SERVER_RES_NAME "Lasso Server"