mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 01:16:26 +00:00
x11: On macOS, look for X11 install in /opt/X11 instead of /usr/X11R6.
This is where Apple installs XQuartz now (and apparently, the compatibility symlink at /usr/X11R6 can be missing). Fixes Bugzilla #4706.
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
/* IRIX doesn't have a GL library versioning system */
|
||||
#define DEFAULT_OPENGL "libGL.so"
|
||||
#elif defined(__MACOSX__)
|
||||
#define DEFAULT_OPENGL "/usr/X11R6/lib/libGL.1.dylib"
|
||||
#define DEFAULT_OPENGL "/opt/X11/lib/libGL.1.dylib"
|
||||
#elif defined(__QNXNTO__)
|
||||
#define DEFAULT_OPENGL "libGL.so.3"
|
||||
#else
|
||||
|
Reference in New Issue
Block a user