diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2016-11-02 16:49:52 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2016-11-02 17:37:51 -0400 |
commit | c8d6633c09cc20070ed5f0a632bf0717748dd6a2 (patch) | |
tree | 118990adc281b21c2cd552e889229ac83f0950e0 /hints | |
parent | c73f612f8535d5db75d096a430a7938ce1c28a10 (diff) | |
download | perl-c8d6633c09cc20070ed5f0a632bf0717748dd6a2.tar.gz |
macOS (10.12) deprecated syscall(2).
Diffstat (limited to 'hints')
-rw-r--r-- | hints/darwin.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh index f6694e356e..40395de80d 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -349,6 +349,14 @@ EOM exit 1 esac + # The X in 10.X + prodvers_minor=$(echo $prodvers|awk -F. '{print $2}') + + # macOS (10.12) deprecated syscall(). + if [ "$prodvers_minor" -ge 12 ]; then + d_syscall='undef' + fi + lddlflags="${ldflags} -bundle -undefined dynamic_lookup" ;; esac |