mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
Fix loading libGL on NetBSD
The unversioned libGL is preferred on OpenBSD and NetBSD because both (a) always install it (b) have forks of X11 with different ABI versions. However, many Linux distributions do not ship unversioned .so symlinks unless you install -dev packages. Unfortunately also needs to be fixed in ANGLE which has the same problem.
This commit is contained in:
parent
5c509ea6ce
commit
a023a81fef
2 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ GLXLibrary::EnsureInitialized()
|
|||
// see e.g. bug 608526: it is intrinsically interesting to know whether we have dynamically linked to libGL.so.1
|
||||
// because at least the NVIDIA implementation requires an executable stack, which causes mprotect calls,
|
||||
// which trigger glibc bug http://sourceware.org/bugzilla/show_bug.cgi?id=12225
|
||||
#ifdef __OpenBSD__
|
||||
#if defined(__OpenBSD__) || defined(__NetBSD__)
|
||||
libGLfilename = "libGL.so";
|
||||
#else
|
||||
libGLfilename = "libGL.so.1";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue