From 08100aa44449e9f43d7b3b7b195d68185c109703 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Fri, 9 Apr 2010 00:40:15 -0700 Subject: [PATCH] util: Set DXTN_LIBNAME to libtxc_dxtn.dylib on Mac OS X. --- src/gallium/auxiliary/util/u_format_s3tc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/auxiliary/util/u_format_s3tc.c b/src/gallium/auxiliary/util/u_format_s3tc.c index d1f45d751fa..35950ee47a5 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 -- 2.30.2