Mesa (master): util: Set DXTN_LIBNAME to libtxc_dxtn.dylib on Mac OS X.

Vinson Lee vlee at kemper.freedesktop.org
Fri Apr 9 07:41:28 UTC 2010


Module: Mesa
Branch: master
Commit: 08100aa44449e9f43d7b3b7b195d68185c109703
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=08100aa44449e9f43d7b3b7b195d68185c109703

Author: Vinson Lee <vlee at vmware.com>
Date:   Fri Apr  9 00:40:15 2010 -0700

util: Set DXTN_LIBNAME to libtxc_dxtn.dylib on Mac OS X.

---

 src/gallium/auxiliary/util/u_format_s3tc.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_format_s3tc.c b/src/gallium/auxiliary/util/u_format_s3tc.c
index d1f45d7..35950ee 100644
--- a/src/gallium/auxiliary/util/u_format_s3tc.c
+++ b/src/gallium/auxiliary/util/u_format_s3tc.c
@@ -30,6 +30,8 @@
 
 #if defined(_WIN32) || defined(WIN32)
 #define DXTN_LIBNAME "dxtn.dll"
+#elif defined(__APPLE__)
+#define DXTN_LIBNAME "libtxc_dxtn.dylib"
 #else
 #define DXTN_LIBNAME "libtxc_dxtn.so"
 #endif




More information about the mesa-commit mailing list