summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/cmake/Lualibs.cmake2
-rw-r--r--indra/newview/llfloaterluadebug.cpp4
-rw-r--r--indra/newview/llluamanager.cpp4
3 files changed, 1 insertions, 9 deletions
diff --git a/indra/cmake/Lualibs.cmake b/indra/cmake/Lualibs.cmake
index e7d5875198..b6a7de41c6 100644
--- a/indra/cmake/Lualibs.cmake
+++ b/indra/cmake/Lualibs.cmake
@@ -15,7 +15,7 @@ target_include_directories( ll::lualibs SYSTEM INTERFACE
)
if (WINDOWS)
- target_link_libraries(ll::lualibs INTERFACE lua54.dll)
+ target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/lua54.lib)
elseif (DARWIN)
target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/liblua.a)
elseif (LINUX)
diff --git a/indra/newview/llfloaterluadebug.cpp b/indra/newview/llfloaterluadebug.cpp
index 44454d7be0..32e9e4f1b7 100644
--- a/indra/newview/llfloaterluadebug.cpp
+++ b/indra/newview/llfloaterluadebug.cpp
@@ -38,10 +38,6 @@
#include "llluamanager.h"
-#if LL_WINDOWS
-#pragma comment(lib, "liblua54.a")
-#endif
-
LLFloaterLUADebug::LLFloaterLUADebug(const LLSD &key)
: LLFloater(key)
diff --git a/indra/newview/llluamanager.cpp b/indra/newview/llluamanager.cpp
index 0475122832..abef3ce368 100644
--- a/indra/newview/llluamanager.cpp
+++ b/indra/newview/llluamanager.cpp
@@ -80,10 +80,6 @@ extern "C"
#include <string_view>
#include <vector>
-#if LL_WINDOWS
-#pragma comment(lib, "liblua54.a")
-#endif
-
std::string lua_tostdstring(lua_State* L, int index);
void lua_pushstdstring(lua_State* L, const std::string& str);
LLSD lua_tollsd(lua_State* L, int index);