projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use correct names for dlopen()ed files on Cygwin
[mesa.git]
/
src
/
mesa
/
main
/
texcompress_s3tc.c
diff --git
a/src/mesa/main/texcompress_s3tc.c
b/src/mesa/main/texcompress_s3tc.c
index 7ddb0ed38c0b45463eb202e54c04929217c57e69..992ad058bf300f53230febced3ea91ae6211f221 100644
(file)
--- 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