mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 12:28:07 +02:00
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>
This commit is contained in:
parent
3c18c16ecf
commit
5d303867f5
3 changed files with 6 additions and 0 deletions
|
|
@ -2733,6 +2733,8 @@ dri2_load(_EGLDriver *drv)
|
|||
const char *libname = "libglapi.so";
|
||||
#elif defined(__APPLE__)
|
||||
const char *libname = "libglapi.0.dylib";
|
||||
#elif defined(__CYGWIN__)
|
||||
const char *libname = "cygglapi-0.dll";
|
||||
#else
|
||||
const char *libname = "libglapi.so.0";
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -32,6 +32,8 @@
|
|||
|
||||
#if defined(_WIN32) || defined(WIN32)
|
||||
#define DXTN_LIBNAME "dxtn.dll"
|
||||
#elif defined(__CYGWIN__)
|
||||
#define DXTN_LIBNAME "cygtxc_dxtn.dll"
|
||||
#elif defined(__APPLE__)
|
||||
#define DXTN_LIBNAME "libtxc_dxtn.dylib"
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue