*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
This commit is contained in:
Anubisss
2009-05-23 20:48:32 +02:00
parent 9fda5c57e1
commit 0b8e6ee15a
5 changed files with 97 additions and 91 deletions
+10 -2
View File
@@ -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