summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-04-09 00:40:15 -0700
committerVinson Lee <vlee@vmware.com>2010-04-09 00:40:15 -0700
commit08100aa44449e9f43d7b3b7b195d68185c109703 (patch)
treef5d732551899bda2439c49263346da2b5a3b4ee3
parentc6781e9c78e623b64a9ecfff8a107a1c3f2923c8 (diff)
util: Set DXTN_LIBNAME to libtxc_dxtn.dylib on Mac OS X.
-rw-r--r--src/gallium/auxiliary/util/u_format_s3tc.c2
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 d1f45d751f..35950ee47a 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