#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