diff options
author | Yaron Cohen-Tal <yaronct@gmail.com> | 2016-12-13 12:26:41 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2017-01-25 12:22:57 +0000 |
commit | 9e46b8e659bfb61a713f099a339c1c1e8b552a8f (patch) | |
tree | cff383a3d887da85b1438404f0dcdb0d3213daa3 /src/dispatch_common.c | |
parent | a937245efc14a99be328627e006ae05004c0dd30 (diff) | |
download | libepoxy-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.c | 4 |
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" |