util: Also add a define for the dynamic library's prefix.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 27 May 2010 18:29:18 +0000 (19:29 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 27 May 2010 18:37:56 +0000 (19:37 +0100)
src/gallium/auxiliary/util/u_dl.h

index 2853b447c61070f9a3a7d012af0ca45f62e38c15..80a00ed67963c53822765c73720d5637b23018b7 100644 (file)
 
 #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