From 0ab3ee9dfb9d42bc96e570b097d6f550ec1b0e7a Mon Sep 17 00:00:00 2001 From: bushing Date: Mon, 8 Dec 2008 03:13:06 +0000 Subject: [PATCH] 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 --- Source/Core/Common/Src/Paths.h | 5 +++++ 1 file changed, 5 insertions(+) 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 '/'