mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-07 20:31:01 -05:00
Fix shobj-conf
on Darwin
The `shobj-conf` script imported from bash seems to not support the latest OS X. This makes sure that `SHOBJ_LDFLAG=-dynamiclib` is output for Darwin10+ (latest version is Darwin 13.0).
This commit is contained in:
parent
8facb3b3a7
commit
302b317b89
1 changed files with 11 additions and 0 deletions
|
@ -142,6 +142,17 @@ freebsd[3-9]*|freebsdelf[3-9]*|freebsdaout[3-9]*|dragonfly*)
|
|||
;;
|
||||
|
||||
# Darwin/MacOS X
|
||||
darwin1*)
|
||||
SHOBJ_STATUS=supported
|
||||
SHLIB_STATUS=supported
|
||||
|
||||
SHOBJ_CFLAGS=''
|
||||
SHLIB_LIBSUFF='dylib'
|
||||
|
||||
SHOBJ_LD='${CC}'
|
||||
SHOBJ_LDFLAGS='-dynamiclib'
|
||||
;;
|
||||
|
||||
darwin8*)
|
||||
SHOBJ_STATUS=supported
|
||||
SHLIB_STATUS=supported
|
||||
|
|
Loading…
Reference in a new issue