summaryrefslogtreecommitdiff
path: root/src/dispatch_common.c
diff options
context:
space:
mode:
authorYaron Cohen-Tal <yaronct@gmail.com>2016-12-13 12:26:41 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2017-01-25 12:22:57 +0000
commit9e46b8e659bfb61a713f099a339c1c1e8b552a8f (patch)
treecff383a3d887da85b1438404f0dcdb0d3213daa3 /src/dispatch_common.c
parenta937245efc14a99be328627e006ae05004c0dd30 (diff)
downloadlibepoxy-9e46b8e659bfb61a713f099a339c1c1e8b552a8f.tar.gz
Use the appropriate GLES library name for Windows
Shared libraries on Windows use `.dll` for the extension, not `.so`. Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
Diffstat (limited to 'src/dispatch_common.c')
-rw-r--r--src/dispatch_common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dispatch_common.c b/src/dispatch_common.c
index c0c7156..74ad645 100644
--- a/src/dispatch_common.c
+++ b/src/dispatch_common.c
@@ -114,6 +114,10 @@
#define EGL_LIB "libEGL.so"
#define GLES1_LIB "libGLESv1_CM.so"
#define GLES2_LIB "libGLESv2.so"
+#elif defined _WIN32
+#define EGL_LIB "libEGL.dll"
+#define GLES1_LIB "libGLES_CM.dll"
+#define GLES2_LIB "libGLESv2.dll"
#else
#define EGL_LIB "libEGL.so.1"
#define GLES1_LIB "libGLESv1_CM.so.1"