summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-08-20 10:29:54 -0400
committerNathan Binkert <binkertn@umich.edu>2004-08-20 10:29:54 -0400
commit5786f4cb8eac3e6750003e50d826423920c28a59 (patch)
tree8dbfc96b5e1255ad7b587f149e113037f0b29175
parent7a1f4969ca9ef010f6861eb806cfc10929a70146 (diff)
downloadgem5-5786f4cb8eac3e6750003e50d826423920c28a59.tar.xz
-DUSE_MYSQL so that mysql stuff builds properly
--HG-- extra : convert_revision : 22d2de08460df7a2016cea162057e44bfd6df010
-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'):