develooper Front page | perl.perl5.porters | Postings from October 2015


Thread Previous | Thread Next
David E. Wheeler
October 16, 2015 19:49
Message ID:
On Oct 16, 2015, at 9:48 AM, Craig A. Berry <> wrote:

> That's kinda sorta what Jarkko's latest patch does when building on
> 10.6 or later, except instead of using the environment setting we use
> the -mmacosx-version-min command-line switch, adding it to compiler
> and linker flags.  The default is to use the OS version we're building
> on as the value for that switch, but if MACOSX_DEPLOYMENT_TARGET is
> set in the environment, we capture its value and use that instead.

Yeah, that sounds like a great solution.

> In either case (overridden from the environment or not) the
> -mmacosx-version-min settings in the flags will produce a consistent
> build target for extensions built against that perl later on other
> systems that are on different OS versions and/or do not have the
> environment setting.

Which is even better than what I had been assuming.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About