Bug 1180498 - Tolerate a different major libGL.so on NetBSD as well r=jgilbert

This commit is contained in:
Maya Rashish 2019-06-03 16:52:54 -07:00 committed by Jeff Gilbert
parent 65eeddec9b
commit cbc217134b
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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"