From: José Fonseca Date: Thu, 27 May 2010 18:29:18 +0000 (+0100) Subject: util: Also add a define for the dynamic library's prefix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=571ee049f2be18d3798448327b17f5bc821ea043;p=mesa.git util: Also add a define for the dynamic library's prefix. --- diff --git a/src/gallium/auxiliary/util/u_dl.h b/src/gallium/auxiliary/util/u_dl.h index 2853b447c61..80a00ed6796 100644 --- a/src/gallium/auxiliary/util/u_dl.h +++ b/src/gallium/auxiliary/util/u_dl.h @@ -35,10 +35,13 @@ #if defined(PIPE_OS_WINDOWS) # define UTIL_DL_EXT ".dll" +# define UTIL_DL_PREFIX "" #elif defined(PIPE_OS_APPLE) # define UTIL_DL_EXT ".dylib" +# define UTIL_DL_PREFIX "lib" #else # define UTIL_DL_EXT ".so" +# define UTIL_DL_PREFIX "lib" #endif