зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1180498 - Tolerate a different major libGL.so on NetBSD as well r=jgilbert
This commit is contained in:
Родитель
65eeddec9b
Коммит
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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче