diff options
author | Haru <haru@dotalux.com> | 2013-12-10 20:47:51 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-12-17 01:02:19 +0100 |
commit | efe4174e59dc462130fde872365e891a7c73654a (patch) | |
tree | 2d706c263f57c92db3b8137c5fde6a0c78912263 /src/common/HPM.h | |
parent | 4d13474b034f95f5be114aa5d3ef6ee59c8d8595 (diff) | |
download | hercules-efe4174e59dc462130fde872365e891a7c73654a.tar.gz hercules-efe4174e59dc462130fde872365e891a7c73654a.tar.bz2 hercules-efe4174e59dc462130fde872365e891a7c73654a.tar.xz hercules-efe4174e59dc462130fde872365e891a7c73654a.zip |
Changed plugin extension from .so to .dylib on OS X
- No functional changes. That's just the correct OS X file extension for
dynamic libs.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/HPM.h')
-rw-r--r-- | src/common/HPM.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/HPM.h b/src/common/HPM.h index 5466693ab..d5a5cbb6a 100644 --- a/src/common/HPM.h +++ b/src/common/HPM.h @@ -28,8 +28,10 @@ #define plugin_import(x,y,z) (z)dlsym((x),(y)) #define plugin_close(x) dlclose(x) - #ifdef CYGWIN + #if defined CYGWIN #define DLL_EXT ".dll" + #elif defined __DARWIN__ + #define DLL_EXT ".dylib" #else #define DLL_EXT ".so" #endif |