In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/c8d6633c09cc20070ed5f0a632bf0717748dd6a2?hp=c73f612f8535d5db75d096a430a7938ce1c28a10>
- Log ----------------------------------------------------------------- commit c8d6633c09cc20070ed5f0a632bf0717748dd6a2 Author: Jarkko Hietaniemi <[email protected]> Date: Wed Nov 2 16:49:52 2016 -0400 macOS (10.12) deprecated syscall(2). ----------------------------------------------------------------------- Summary of changes: hints/darwin.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hints/darwin.sh b/hints/darwin.sh index f6694e3..40395de 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 -- Perl5 Master Repository
