Mercurial > sdl-ios-xcode
changeset 4343:d380e7a6265b SDL-1.2
patch-ac (from mrg@NetBSD.org):
Look for libGL.so, not any particular libGL.so.<X>, on NetBSD.
(the comment inline explains why)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 16 Oct 2009 05:06:17 +0000 |
parents | f2800721813d |
children | 14f95e514408 |
files | src/video/x11/SDL_x11gl.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11gl.c Fri Oct 16 05:05:21 2009 +0000 +++ b/src/video/x11/SDL_x11gl.c Fri Oct 16 05:06:17 2009 +0000 @@ -35,6 +35,9 @@ #define DEFAULT_OPENGL "libGL.so.3" #elif defined(__OpenBSD__) #define DEFAULT_OPENGL "libGL.so.4.0" +#elif defined(__NetBSD__) +/* pkgsrc is .1, base system is .2 */ +#define DEFAULT_OPENGL "libGL.so" #else #define DEFAULT_OPENGL "libGL.so.1" #endif