summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-06-10 12:06:04 +0100
committerCarl Hetherington <cth@carlh.net>2013-06-10 12:06:04 +0100
commita991c734ebfedb5456cec827d5eaf2583fdbb9a1 (patch)
treea1315b26da908ad6de4247064a00a7493482c933 /wscript
parent6db935ce99e1aac8f11afb023941922265670e6b (diff)
Detect CPU info on OS X.
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index beb0080d4..542c9b640 100644
--- a/wscript
+++ b/wscript
@@ -55,6 +55,10 @@ def configure(conf):
if conf.env.TARGET_LINUX:
# libxml2 seems to be linked against this on Ubuntu but it doesn't mention it in its .pc file
conf.env.append_value('LIB', 'lzma')
+ conf.env.append_value('CXXFLAGS', '-DDVDOMATIC_LINUX')
+
+ if conf.env.TARGET_OSX:
+ conf.env.append_value('CXXFLAGS', '-DDVDOMATIC_OSX')
if conf.options.enable_debug:
conf.env.append_value('CXXFLAGS', ['-g', '-DDVDOMATIC_DEBUG'])