We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2149

Summary: [PATCH] Don't search for libusbhid except on BSD
Product: SDL Reporter: Joseph Carter <tjcarter>
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.1   
Hardware: x86   
OS: Mac OS X 10.8   
Attachments: Conditionalize the test for libusbhid so it doesn't get sucked in to shlib depends

Description Joseph Carter 2013-10-11 14:41:47 UTC
Created attachment 1364 [details]
Conditionalize the test for libusbhid so it doesn't get sucked in to shlib depends

There's a whole set of configure tests for BSD's libusbhid, and they only matter on BSD.  However, if you have the library on Linux, it gets pulled in as library bloat.  And it's bloat of the highest order since not a single function call to the library is ever made unless you're on a *BSD.
Comment 1 Sam Lantinga 2013-10-14 02:50:06 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/9dfcc6bad831