[MacPorts] #28459: macosx_deployment_target 10.5 does not result in "-mmacosx-version-min=10.5"

MacPorts noreply at macports.org
Fri Feb 18 11:39:49 PST 2011


#28459: macosx_deployment_target 10.5 does not result in "-mmacosx-version-
min=10.5"
---------------------------------+------------------------------------------
 Reporter:  dojo@…               |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  base                 |     Version:  1.9.2                                
 Keywords:                       |        Port:                                       
---------------------------------+------------------------------------------
 I set macosx_deployment_target 10.5 in macports.conf in order to build a
 version of ruby 1.9.2 for deployment to client machines that may be back
 on 10.5.

 The binaries are linked against the 10.5 SDK correctly, and it almost
 works.  The only problem is that the "-mmacosx-version-min=10.5" argument
 does not appear to be passed to the linker.

 This results in binaries that contain linker sections that are
 unintelligible on 10.5.  Normally this doesn't matter and they do run.
 However, they can't be ad-hoc codesigned due to the unrecognized sections,
 so the firewall won't recognize the binaries.  Also, dynamic libraries
 such as native components of ruby gems can't be loaded.

-- 
Ticket URL: <https://trac.macports.org/ticket/28459>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list