diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-09-02 12:56:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-09-02 12:56:53 +0100 |
| commit | 23f98da47e29bda194297630909dd1cad3d83a62 (patch) | |
| tree | 0ba1f0e745788ff0d9d2101a9d9fa1992285acfb /wscript | |
| parent | 7e67afe48eb0cff8c29a05d9ac2df2b196f33b63 (diff) | |
Try to fix build on some platforms.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -83,6 +83,9 @@ def configure(conf): conf.env.append_value('CXXFLAGS', ['-fopenmp', '-DLIBDCP_OPENMP']) conf.env.LIB_OPENMP = ['gomp'] + if not conf.env.TARGET_WINDOWS: + conf.env.append_value('LINKFLAGS', '-pthread') + if conf.options.jpeg == 'oj1': conf.env.append_value('CXXFLAGS', ['-DLIBDCP_OPENJPEG1']) elif conf.options.jpeg == 'oj2': |
