diff options
author | Eric Engestrom <[email protected]> | 2016-10-19 15:09:26 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-10-19 15:09:26 +0100 |
commit | 8acb79dfac3495d9786f747f2052d6a8084cca6a (patch) | |
tree | 2bc5cc26ec83e4e1388390632d56eba46bc49412 /src/egl/drivers | |
parent | 66d8bd3b7e577b7ae4d0b29186dce95d615e2c40 (diff) |
egl: bring back the default glapi.so name
Earlier commit replaced the default platform specific libglapi.so name
with an #error.
This may have been overzealous since the name is the correct for the BSD
platforms, at least. Reinstate the hunk - bringing back OpenBSD, et al.
to a successful build state.
Fixes: 7a9c92d071d ("egl/dri2: non-shared glapi cleanups")
[Emil Velikov: format the patch from Eric, add commit message and tag.]
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/drivers')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 8785e31cb6a..4ed8c12206f 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -2808,10 +2808,8 @@ dri2_load(_EGLDriver *drv) const char *libname = "libglapi.0.dylib"; #elif defined(__CYGWIN__) const char *libname = "cygglapi-0.dll"; -#elif defined(__linux__) - const char *libname = "libglapi.so.0"; #else -#error Unknown glapi provider for this platform + const char *libname = "libglapi.so.0"; #endif void *handle; |