Skip to content
  • Matt Harbison's avatar
    make: set MACOSX_DEPLOYMENT_TARGET=10.7 for building Mercurial on OS X · e45373a8539f
    Matt Harbison authored
    This will provide a wider range of supported platforms for the bundle built from
    Steve's build machine, without having to remember to specify it on the command
    line once a month.  All it will do is adjust the AvailabilityMacros [1] so that
    newer framework functions aren't linked against.  It will run fine on newer
    systems.  Obviously, the other binaries (PyQt, etc) will need to be compiled
    with support back to 10.7 for this to work (and they are not when using brew),
    so building on any random machine isn't a guarantee of support.
    
    Python only supports 10.6+, but when I tried putting Mercurial's *.so files that
    were built with 10.6 support into a bundle Steve made, it crashed in a PyQt
    library on 10.6.  The same bundle worked on 10.7 and later, so let's start with
    that.
    
    
    [1] http://www.opensource.apple.com/source/CarbonHeaders/CarbonHeaders-18.1/AvailabilityMacros.h
    
    --HG--
    branch : stable
    e45373a8539f