Fix compilation of Python bindings when libsqlite3 is not available (and so the class SqliteDataOutput is omitted).

This commit is contained in:
Gustavo J. A. M. Carneiro
2008-09-02 17:32:19 +01:00
parent 0adbfb8047
commit 1ace78069a
2 changed files with 6 additions and 0 deletions

View File

@@ -374,6 +374,8 @@ def build(bld):
bindgen.os_env = dict(os.environ)
if not env['ENABLE_GTK_CONFIG_STORE']:
bindgen.os_env['DISABLE_GTK_CONFIG_STORE'] = "1"
if not env['SQLITE_STATS']:
bindgen.os_env['SQLITE_STATS'] = "1"
## we build python bindings if either we have the tools to