Skip to content

Commit 2017450

Browse files
committed
By default install to /usr/local on macOS
1 parent 9a2ac15 commit 2017450

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

SConstruct

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ supported_sanitizers = [
2727
]
2828

2929
# default installation prefix
30-
default_prefix = '/usr'
30+
if platform.system() == 'Darwin':
31+
default_prefix = '/usr/local'
32+
else:
33+
default_prefix = '/usr'
3134

3235
AddOption('--prefix',
3336
dest='prefix',

0 commit comments

Comments
 (0)