From: Julien Isorce Date: Thu, 18 Jun 2015 05:53:52 +0000 (+0100) Subject: egl/dri2: load libglapi.0.dylib on osx X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e27ea996444743b8cbdca096a4aab47dd405ebf9;p=mesa.git egl/dri2: load libglapi.0.dylib on osx Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90903 Signed-off-by: Julien Isorce Reviewed-by: Emil Velikov --- 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