summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers
diff options
context:
space:
mode:
authorJulien Isorce <[email protected]>2015-06-18 06:53:52 +0100
committerEmil Velikov <[email protected]>2015-07-08 13:19:33 +0100
commite27ea996444743b8cbdca096a4aab47dd405ebf9 (patch)
tree04636e65474151c3359f539025e2a94a97b983d9 /src/egl/drivers
parent7d642442d9339e5b65c30802c44091816cdf18be (diff)
egl/dri2: load libglapi.0.dylib on osx
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90903 Signed-off-by: Julien Isorce <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/drivers')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 400ee635e77..65194cb990c 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -2368,6 +2368,8 @@ dri2_load(_EGLDriver *drv)
#ifdef HAVE_SHARED_GLAPI
#ifdef HAVE_ANDROID_PLATFORM
const char *libname = "libglapi.so";
+#elif defined(__APPLE__)
+ const char *libname = "libglapi.0.dylib";
#else
const char *libname = "libglapi.so.0";
#endif