Mesa (master): util: Also add a define for the dynamic library's prefix.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Thu May 27 18:40:57 UTC 2010
Module: Mesa
Branch: master
Commit: 571ee049f2be18d3798448327b17f5bc821ea043
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=571ee049f2be18d3798448327b17f5bc821ea043
Author: José Fonseca <jfonseca at vmware.com>
Date: Thu May 27 19:29:18 2010 +0100
util: Also add a define for the dynamic library's prefix.
---
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 2853b44..80a00ed 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
More information about the mesa-commit
mailing list