mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1180498 - Tolerate a different major libGL.so on NetBSD as well r=jgilbert
This commit is contained in:
parent
65eeddec9b
commit
cbc217134b
@ -80,7 +80,7 @@ bool GLXLibrary::EnsureInitialized() {
|
||||
// which trigger glibc bug
|
||||
// http://sourceware.org/bugzilla/show_bug.cgi?id=12225
|
||||
const char* libGLfilename = "libGL.so.1";
|
||||
#ifdef __OpenBSD__
|
||||
#if defined(__OpenBSD__) || defined(__NetBSD__)
|
||||
libGLfilename = "libGL.so";
|
||||
#endif
|
||||
|
||||
|
@ -201,7 +201,7 @@ void glxtest() {
|
||||
"The MOZ_AVOID_OPENGL_ALTOGETHER environment variable is defined");
|
||||
|
||||
///// Open libGL and load needed symbols /////
|
||||
#ifdef __OpenBSD__
|
||||
#if defined(__OpenBSD__) || defined(__NetBSD__)
|
||||
# define LIBGL_FILENAME "libGL.so"
|
||||
#else
|
||||
# define LIBGL_FILENAME "libGL.so.1"
|
||||
|
Loading…
Reference in New Issue
Block a user