util: Set DXTN_LIBNAME to libtxc_dxtn.dylib on Mac OS X.
authorVinson Lee <vlee@vmware.com>
Fri, 9 Apr 2010 07:40:15 +0000 (00:40 -0700)
committerVinson Lee <vlee@vmware.com>
Fri, 9 Apr 2010 07:40:15 +0000 (00:40 -0700)
src/gallium/auxiliary/util/u_format_s3tc.c

index d1f45d751fa8388157368d33827ac46b76658d7f..35950ee47a5672119943f34d5916ad84c8425d39 100644 (file)
@@ -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