mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-12 13:00:38 +00:00
Fix Android linking issue with libpthread (#203)
This commit is contained in:
parent
6558c271dd
commit
e7a443daa8
1 changed files with 4 additions and 1 deletions
|
@ -87,7 +87,10 @@ if(LUAU_BUILD_CLI)
|
|||
target_link_libraries(Luau.Repl.CLI PRIVATE Luau.Compiler Luau.VM)
|
||||
|
||||
if(UNIX)
|
||||
target_link_libraries(Luau.Repl.CLI PRIVATE pthread)
|
||||
find_library(LIBPTHREAD pthread)
|
||||
if (LIBPTHREAD)
|
||||
target_link_libraries(Luau.Repl.CLI PRIVATE pthread)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT EMSCRIPTEN)
|
||||
|
|
Loading…
Reference in a new issue