diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-10 12:06:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-10 12:06:04 +0100 |
| commit | a991c734ebfedb5456cec827d5eaf2583fdbb9a1 (patch) | |
| tree | a1315b26da908ad6de4247064a00a7493482c933 /wscript | |
| parent | 6db935ce99e1aac8f11afb023941922265670e6b (diff) | |
Detect CPU info on OS X.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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']) |
