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 - [PATCH] Don't search for libusbhid except on BSD
Summary: [PATCH] Don't search for libusbhid except on BSD
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.1
Hardware: x86 Mac OS X 10.8
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-11 14:41 UTC by Joseph Carter
Modified: 2013-10-14 02:50 UTC (History)
0 users

See Also:


Attachments
Conditionalize the test for libusbhid so it doesn't get sucked in to shlib depends (10.29 KB, patch)
2013-10-11 14:41 UTC, Joseph Carter
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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