diff options
author | Robin Gareus <robin@gareus.org> | 2017-04-07 23:31:44 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-04-07 23:31:44 +0200 |
commit | d4f2121cfa33d434c941e652594649eb12c53aa6 (patch) | |
tree | 11e3b1a93e43ac0201b33a8e606eea37402bd136 /wscript | |
parent | ea8eb956ffdf8469e9f7e2ecc41a6f0053285b0c (diff) |
Fix linking on El Capitan
Modern xcode, does not allow std::locale::numeric with 10.8 SDK
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -545,12 +545,12 @@ int main() { return 0; }''', ("-DMAC_OS_X_VERSION_MIN_REQUIRED=1070", '-mmacosx-version-min=10.7')) - elif conf.env['build_target'] in [ 'mavericks', 'yosemite', 'el_capitan' ]: + elif conf.env['build_target'] in [ 'mavericks', 'yosemite' ]: compiler_flags.extend( ("-DMAC_OS_X_VERSION_MAX_ALLOWED=1090", "-mmacosx-version-min=10.8")) - elif conf.env['build_target'] in [ 'sierra' ]: + elif conf.env['build_target'] in ['el_capitan', 'sierra' ]: compiler_flags.extend( ("-DMAC_OS_X_VERSION_MAX_ALLOWED=1090", "-mmacosx-version-min=10.9")) |