diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-12-08 19:33:21 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-12-08 19:33:21 +0000 |
| commit | aa6fb9c2cba81842e719df547a8f4ef3d52f61d0 (patch) | |
| tree | 1f2e8a126d2a751f5908e0cf1e3dc32758bff751 /wscript | |
| parent | c09d415cac646bfd3067f359ca454dc5ea3679e5 (diff) | |
Only do lzma link hack on Linux.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -20,8 +20,6 @@ def configure(conf): conf.load('winres') conf.env.append_value('CXXFLAGS', ['-D__STDC_CONSTANT_MACROS', '-msse', '-mfpmath=sse', '-ffast-math', '-fno-strict-aliasing', '-Wall', '-Wno-attributes']) - # 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') if conf.options.target_windows: conf.env.append_value('CXXFLAGS', ['-DDVDOMATIC_WINDOWS', '-DWIN32_LEAN_AND_MEAN', '-DBOOST_USE_WINDOWS_H']) @@ -39,6 +37,8 @@ def configure(conf): boost_lib_suffix = '' boost_thread = 'boost_thread' conf.env.append_value('LINKFLAGS', '-pthread') + # 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.TARGET_WINDOWS = conf.options.target_windows conf.env.DISABLE_GUI = conf.options.disable_gui |
