aboutsummaryrefslogtreecommitdiff
path: root/src/framework
diff options
context:
space:
mode:
authorraczman <none@none>2009-02-20 18:22:39 -0600
committerraczman <none@none>2009-02-20 18:22:39 -0600
commit6f7c53b7f5b082dcd0422ff66659c4ddadcd3253 (patch)
tree8ddc1514ed71127bd1b633e18768633cd2cf031b /src/framework
parentf1c13a7c79f7c2eb5d1d08d3e4724a29d383538c (diff)
fix cmake/ACE for freeBSD and Mac OSX
--HG-- branch : trunk
Diffstat (limited to 'src/framework')
-rw-r--r--src/framework/Platform/Define.h9
1 files changed, 7 insertions, 2 deletions
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