mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 05:27:48 +00:00
Fixed bug 2149 - Don't search for libusbhid except on BSD
Joseph Carter 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.
This commit is contained in:
3
test/configure
vendored
3
test/configure
vendored
@@ -586,8 +586,8 @@ ac_subst_vars='LTLIBOBJS
|
||||
LIBOBJS
|
||||
SDL_TTF_LIB
|
||||
XLIB
|
||||
GLLIB
|
||||
GLESLIB
|
||||
GLLIB
|
||||
CPP
|
||||
XMKMF
|
||||
SDL_CONFIG
|
||||
@@ -3874,6 +3874,7 @@ fi
|
||||
|
||||
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TTF_Init in -lSDL2_ttf" >&5
|
||||
$as_echo_n "checking for TTF_Init in -lSDL2_ttf... " >&6; }
|
||||
if ${ac_cv_lib_SDL2_ttf_TTF_Init+:} false; then :
|
||||
|
||||
Reference in New Issue
Block a user