-DUSE_MYSQL so that mysql stuff builds properly
authorNathan Binkert <binkertn@umich.edu>
Fri, 20 Aug 2004 14:29:54 +0000 (10:29 -0400)
committerNathan Binkert <binkertn@umich.edu>
Fri, 20 Aug 2004 14:29:54 +0000 (10:29 -0400)
--HG--
extra : convert_revision : 22d2de08460df7a2016cea162057e44bfd6df010

SConscript

index 19bb0f2bd6b361844ce7c86d6cfdc5c8e94d5129..0f2d90c2d888e6705e28947c03f4ceccd4a2d771 100644 (file)
@@ -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'):