diff options
author | Nicky <nicky.dasmijn@posteo.nl> | 2024-04-03 21:24:56 +0200 |
---|---|---|
committer | Nicky <nicky.dasmijn@posteo.nl> | 2024-04-03 21:24:56 +0200 |
commit | c8f7e9d0256cec90d509b0cf0109c2c7479100d0 (patch) | |
tree | 391bf69cba1f0174816c497dd9157ad90bda882b /indra/cmake/Lualibs.cmake | |
parent | 0f2d261bbfa7a827290f3acb7e6f71e29eed3a1b (diff) |
- Enable luaulib linking for Linux
- Put lubLuau.Ast.a at the right most side as GCC/LD is peculiar about link order.
Diffstat (limited to 'indra/cmake/Lualibs.cmake')
-rw-r--r-- | indra/cmake/Lualibs.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/cmake/Lualibs.cmake b/indra/cmake/Lualibs.cmake index 7edfbfdc3d..d66305a8e5 100644 --- a/indra/cmake/Lualibs.cmake +++ b/indra/cmake/Lualibs.cmake @@ -20,10 +20,10 @@ if (WINDOWS) target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/Luau.Compiler.lib) target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/Luau.Config.lib) target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/Luau.VM.lib) -elseif (DARWIN) - target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/libLuau.Ast.a) +else () target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/libLuau.CodeGen.a) target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/libLuau.Compiler.a) target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/libLuau.Config.a) target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/libLuau.VM.a) -endif (WINDOWS) + target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/libLuau.Ast.a) +endif () |