summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-05-27 19:29:18 +0100
committerJosé Fonseca <[email protected]>2010-05-27 19:37:56 +0100
commit571ee049f2be18d3798448327b17f5bc821ea043 (patch)
tree1c2e10479d2b82043fdda52e6ca228d816ed7c0d
parent057f7e8140865518b448c201dacb7a961a36d9b6 (diff)
util: Also add a define for the dynamic library's prefix.
-rw-r--r--src/gallium/auxiliary/util/u_dl.h3
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