From 6f7c53b7f5b082dcd0422ff66659c4ddadcd3253 Mon Sep 17 00:00:00 2001 From: raczman Date: Fri, 20 Feb 2009 18:22:39 -0600 Subject: fix cmake/ACE for freeBSD and Mac OSX --HG-- branch : trunk --- src/framework/Platform/Define.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/framework') diff --git a/src/framework/Platform/Define.h b/src/framework/Platform/Define.h index cf4fa3e0def..5e0cdfdd179 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 -- cgit v1.2.3