diff options
| author | megamage <none@none> | 2009-02-22 17:30:09 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-02-22 17:30:09 -0600 |
| commit | 3e8d76087d755b9cc90fb9d12071314685303d38 (patch) | |
| tree | 2872e16b22d6993f3b38a8a2d264ce53c4a9771c /src/framework | |
| parent | ed5b3780ed92fcda07323ce12bbc25a520474006 (diff) | |
| parent | 7aa6a72673635069a786e0651c96ababd925ac7b (diff) | |
*Merge.
--HG--
branch : trunk
Diffstat (limited to 'src/framework')
| -rw-r--r-- | src/framework/Platform/Define.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/framework/Platform/Define.h b/src/framework/Platform/Define.h index e4d45f6b456..7a7bdcab419 100644 --- a/src/framework/Platform/Define.h +++ b/src/framework/Platform/Define.h @@ -60,8 +60,13 @@ # else # define TRINITY_IMPORT __attribute__ ((cdecl)) # endif //__APPLE_CC__ && BIG_ENDIAN -# define TRINITY_SCRIPT_EXT ".so" -# define TRINITY_SCRIPT_NAME "libtrinityscript" +# if defined(__APPLE_CC__) +# define TRINITY_SCRIPT_EXT ".dylib" +# define TRINITY_SCRIPT_NAME "../lib/libtrinityscript" +# else +# define TRINITY_SCRIPT_EXT ".so" +# define TRINITY_SCRIPT_NAME "libtrinityscript" +# endif //__APPLE_CC__ # define TRINITY_PATH_MAX PATH_MAX #endif //PLATFORM |
