summaryrefslogtreecommitdiff
path: root/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'SConscript')
-rw-r--r--SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/SConscript b/SConscript
index 19bb0f2bd..0f2d90c2d 100644
--- a/SConscript
+++ b/SConscript
@@ -380,6 +380,7 @@ else:
extra_libraries = []
if env['USE_MYSQL']:
sources += mysql_sources
+ env.Append(CPPDEFINES = 'USE_MYSQL')
env.Append(CPPPATH=['/usr/local/include/mysql', '/usr/include/mysql'])
env.Append(LIBS=['z'])
if sys.platform.lower().startswith('linux'):