aboutsummaryrefslogtreecommitdiff
path: root/src/framework
diff options
context:
space:
mode:
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