summaryrefslogtreecommitdiff
path: root/scons/udis86.py
diff options
context:
space:
mode:
Diffstat (limited to 'scons/udis86.py')
-rw-r--r--scons/udis86.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scons/udis86.py b/scons/udis86.py
index ba71d4eb0b..bb91d3c35c 100644
--- a/scons/udis86.py
+++ b/scons/udis86.py
@@ -31,8 +31,10 @@ def generate(env):
conf = env.Configure()
if conf.CheckHeader('udis86.h'): # and conf.CheckLib('udis86'):
- env.Append(CPPDEFINES = [('HAVE_UDIS86', '1')])
+ env['UDIS86'] = True
env.Prepend(LIBS = ['udis86'])
+ else:
+ env['UDIS86'] = False
conf.Finish()