aboutsummaryrefslogtreecommitdiff
path: root/src/framework
diff options
context:
space:
mode:
authorAnubisss <none@none>2009-05-23 20:48:32 +0200
committerAnubisss <none@none>2009-05-23 20:48:32 +0200
commit0b8e6ee15a1137d25aaa3071dc5a1410e49faec4 (patch)
treece3a9434d479215874325f31c358232577acf6d6 /src/framework
parent9fda5c57e18ceb130850b55411d40c44bbb3ad81 (diff)
*Some changes in bindings/interface.
*Fix the bug that You build it without Trinity Script the emu try to load the libtrinityscript lib instead of libtrinityinterface. --HG-- branch : trunk
Diffstat (limited to 'src/framework')
-rw-r--r--src/framework/Platform/Define.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/framework/Platform/Define.h b/src/framework/Platform/Define.h
index 5e0cdfdd179..ac0435b62a4 100644
--- a/src/framework/Platform/Define.h
+++ b/src/framework/Platform/Define.h
@@ -62,10 +62,18 @@
# endif //__APPLE_CC__ && BIG_ENDIAN
# if defined(__APPLE_CC__)
# define TRINITY_SCRIPT_EXT ".dylib"
-# define TRINITY_SCRIPT_NAME "../lib/libtrinityscript"
+# if defined(DO_SCRIPTS)
+# define TRINITY_SCRIPT_NAME "../lib/libtrinityscript"
+# else
+# define TRINITY_SCRIPT_NAME "../lib/libtrinityinterface"
+# endif // DO_SCRIPTS
# else
# define TRINITY_SCRIPT_EXT ".so"
-# define TRINITY_SCRIPT_NAME "libtrinityscript"
+# if defined(DO_SCRIPTS)
+# define TRINITY_SCRIPT_NAME "libtrinityscript"
+# else
+# define TRINITY_SCRIPT_NAME "libtrinityinterface"
+# endif // DO_SCRIPTS
# endif //__APPLE_CC__
# define TRINITY_PATH_MAX PATH_MAX
#endif //PLATFORM