aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2018-02-17 10:45:05 +1100
committerdaurnimator <quae@daurnimator.com>2018-02-17 10:45:05 +1100
commitaa6a466bea35db093a0131dce0612a4de428306c (patch)
treee16704b95ddf98b143d26e6dbfeb2aa0b46b1d8b
parent68847e42b4d9deaa98e2367b13348f72e9dc7865 (diff)
downloadfengari-aa6a466bea35db093a0131dce0612a4de428306c.tar.gz
fengari-aa6a466bea35db093a0131dce0612a4de428306c.tar.bz2
fengari-aa6a466bea35db093a0131dce0612a4de428306c.zip
src/defs.js: CPATH contains .js not .dll/.so
Closes #111
-rw-r--r--src/defs.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/defs.js b/src/defs.js
index 70d0c73..f17c65c 100644
--- a/src/defs.js
+++ b/src/defs.js
@@ -395,9 +395,9 @@ if (typeof process === "undefined") {
module.exports.LUA_PATH_DEFAULT = LUA_PATH_DEFAULT;
const LUA_CPATH_DEFAULT = to_luastring(
- LUA_CDIR + "?.dll;" +
- LUA_CDIR + "..\\lib\\lua\\" + LUA_VDIR + "\\?.dll;" +
- LUA_CDIR + "loadall.dll;.\\?.dll"
+ LUA_CDIR + "?.js;" +
+ LUA_CDIR + "..\\lib\\lua\\" + LUA_VDIR + "\\?.js;" +
+ LUA_CDIR + "loadall.js;.\\?.js"
);
module.exports.LUA_CPATH_DEFAULT = LUA_CPATH_DEFAULT;
} else {
@@ -421,7 +421,7 @@ if (typeof process === "undefined") {
module.exports.LUA_PATH_DEFAULT = LUA_PATH_DEFAULT;
const LUA_CPATH_DEFAULT = to_luastring(
- LUA_CDIR + "?.so;" + LUA_CDIR + "loadall.so;./?.so"
+ LUA_CDIR + "?.js;" + LUA_CDIR + "loadall.js;./?.js"
);
module.exports.LUA_CPATH_DEFAULT = LUA_CPATH_DEFAULT;
}