Fix non-MacOS platform.mac_ver().
This commit is contained in:
parent
8ca703c272
commit
6e4f29775c
@ -60,7 +60,7 @@ if cling_obj_root is not None:
|
||||
# For MacOS with libc++, out clang will not find libc++ causing errors with
|
||||
# STL. Use the XCode one instead by not adding ours to the path. Cling is
|
||||
# still found through deferCling().
|
||||
if platform.mac_ver() is None or \
|
||||
if platform.mac_ver()[0] is '' or \
|
||||
float('.'.join(platform.mac_ver()[0].split('.')[:2])) < 10.9:
|
||||
config.environment['PATH'] = path
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user