[MacPorts] #31055: libusb-devel neglects to link IOKit

MacPorts noreply at macports.org
Wed Aug 31 17:32:35 PDT 2011


#31055: libusb-devel neglects to link IOKit
-------------------------------+--------------------------------------------
 Reporter:  njbutko@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  2.0.1                                
 Keywords:                     |        Port:                                       
-------------------------------+--------------------------------------------
 when libusb-devel is built, the resulting library is not linked to IOKit,
 but should be.

 Appending the following to the end of the Portfile fixes the issue:

 {{{
 configure.ldflags-append "-framework IOKit -framework CoreFoundation"
 }}}

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


More information about the macports-tickets mailing list