diff options
Diffstat (limited to '')
-rw-r--r-- | src/LuaSL/LuaSL_compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LuaSL/LuaSL_compile.c b/src/LuaSL/LuaSL_compile.c index 4fe5671..afe7ec0 100644 --- a/src/LuaSL/LuaSL_compile.c +++ b/src/LuaSL/LuaSL_compile.c | |||
@@ -2194,9 +2194,9 @@ boolean compilerSetup(gameGlobals *ourGlobals) | |||
2194 | } | 2194 | } |
2195 | 2195 | ||
2196 | // Compile the constants. | 2196 | // Compile the constants. |
2197 | snprintf(buf, sizeof(buf), "lua -e 'require(\"LSL\").gimmeLSL()' > %s/constants.lsl", PACKAGE_LIB_DIR); | 2197 | snprintf(buf, sizeof(buf), "lua -e 'require(\"LSL\").gimmeLSL()' > %s/constants.lsl", prefix_lib_get()); |
2198 | system(buf); | 2198 | system(buf); |
2199 | snprintf(buf, sizeof(buf), "%s/constants.lsl", PACKAGE_LIB_DIR); | 2199 | snprintf(buf, sizeof(buf), "%s/constants.lsl", prefix_lib_get()); |
2200 | compileLSL(ourGlobals, NULL, "FAKE_SID", buf, TRUE); | 2200 | compileLSL(ourGlobals, NULL, "FAKE_SID", buf, TRUE); |
2201 | 2201 | ||
2202 | return TRUE; | 2202 | return TRUE; |