diff options
author | José Fonseca <[email protected]> | 2010-05-27 19:29:18 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-05-27 19:37:56 +0100 |
commit | 571ee049f2be18d3798448327b17f5bc821ea043 (patch) | |
tree | 1c2e10479d2b82043fdda52e6ca228d816ed7c0d /src/gallium/auxiliary | |
parent | 057f7e8140865518b448c201dacb7a961a36d9b6 (diff) |
util: Also add a define for the dynamic library's prefix.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/util/u_dl.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |