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
This commit is contained in:
bushing 2008-12-08 03:13:06 +00:00
parent f5fa53a397
commit 0ab3ee9dfb
1 changed files with 5 additions and 0 deletions

View File

@ -5,9 +5,14 @@
#define PLUGIN_PREFIX "" #define PLUGIN_PREFIX ""
#define PLUGIN_SUFFIX ".dll" #define PLUGIN_SUFFIX ".dll"
#else #else
#ifdef __APPLE__
#define PLUGIN_PREFIX "lib"
#define PLUGIN_SUFFIX ".dylib"
#else
#define PLUGIN_PREFIX "lib" #define PLUGIN_PREFIX "lib"
#define PLUGIN_SUFFIX ".so" #define PLUGIN_SUFFIX ".so"
#endif #endif
#endif
#define DIR_SEP "/" #define DIR_SEP "/"
#define DIR_SEP_CHR '/' #define DIR_SEP_CHR '/'