summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_s3tc.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2016-06-11 14:53:50 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2016-07-15 19:46:54 +0100
commit5d303867f57578fcbe0c2fb30a9646b1f4fd6b46 (patch)
treee9ded32c5442a2e4a96cf9fb2c7d98ec6ecb00bf /src/mesa/main/texcompress_s3tc.c
parent3c18c16ecf95198b88ff1049ea6c238f7f7436bd (diff)
downloadexternal_mesa3d-5d303867f57578fcbe0c2fb30a9646b1f4fd6b46.zip
external_mesa3d-5d303867f57578fcbe0c2fb30a9646b1f4fd6b46.tar.gz
external_mesa3d-5d303867f57578fcbe0c2fb30a9646b1f4fd6b46.tar.bz2
Use correct names for dlopen()ed files on Cygwin
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com> Reviewed-by: Jon Turney <jon.turney@dronecode.org.uk>
Diffstat (limited to 'src/mesa/main/texcompress_s3tc.c')
-rw-r--r--src/mesa/main/texcompress_s3tc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/texcompress_s3tc.c b/src/mesa/main/texcompress_s3tc.c
index 7ddb0ed..992ad05 100644
--- a/src/mesa/main/texcompress_s3tc.c
+++ b/src/mesa/main/texcompress_s3tc.c
@@ -46,6 +46,8 @@
#define DXTN_LIBNAME "dxtn.dll"
#define RTLD_LAZY 0
#define RTLD_GLOBAL 0
+#elif defined(__CYGWIN__)
+#define DXTN_LIBNAME "cygtxc_dxtn.dll"
#else
#define DXTN_LIBNAME "libtxc_dxtn.so"
#endif