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:
Mislav Marohnić 2014-01-05 18:00:31 +01:00
parent 8facb3b3a7
commit 302b317b89

View file

@ -142,6 +142,17 @@ freebsd[3-9]*|freebsdelf[3-9]*|freebsdaout[3-9]*|dragonfly*)
;; ;;
# Darwin/MacOS X # Darwin/MacOS X
darwin1*)
SHOBJ_STATUS=supported
SHLIB_STATUS=supported
SHOBJ_CFLAGS=''
SHLIB_LIBSUFF='dylib'
SHOBJ_LD='${CC}'
SHOBJ_LDFLAGS='-dynamiclib'
;;
darwin8*) darwin8*)
SHOBJ_STATUS=supported SHOBJ_STATUS=supported
SHLIB_STATUS=supported SHLIB_STATUS=supported