summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorbushing <bushing@gmail.com>2008-12-08 03:13:06 +0000
committerbushing <bushing@gmail.com>2008-12-08 03:13:06 +0000
commit0ab3ee9dfb9d42bc96e570b097d6f550ec1b0e7a (patch)
tree213a4e27d15681711fd8c7cfcb37430ebb01f40b /Source/Core
parentf5fa53a3971d6c658bfef873aa6b5d4f95425171 (diff)
Teach Dolphin that dynamic libraries end in .dylib on OS X
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1434 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/Src/Paths.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/Common/Src/Paths.h b/Source/Core/Common/Src/Paths.h
index d2a33fbcc0..45ffb756a0 100644
--- a/Source/Core/Common/Src/Paths.h
+++ b/Source/Core/Common/Src/Paths.h
@@ -5,9 +5,14 @@
#define PLUGIN_PREFIX ""
#define PLUGIN_SUFFIX ".dll"
#else
+#ifdef __APPLE__
+#define PLUGIN_PREFIX "lib"
+#define PLUGIN_SUFFIX ".dylib"
+#else
#define PLUGIN_PREFIX "lib"
#define PLUGIN_SUFFIX ".so"
#endif
+#endif
#define DIR_SEP "/"
#define DIR_SEP_CHR '/'