| Summary: | [PATCH] Don't search for libusbhid except on BSD | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Joseph Carter <tjcarter> |
| Component: | build | Assignee: | 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 | ||
Fixed, thanks! http://hg.libsdl.org/SDL/rev/9dfcc6bad831 |
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.