Skip to content

Commit

Permalink
[fix] Linking error on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
pajama-coder committed Jul 22, 2024
1 parent 404b91b commit d372975
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,8 @@ target_link_libraries(

if(WIN32)
target_link_libraries(pipy crypt32 userenv)
elseif(ANDROID)
target_link_libraries(pipy -pthread -ldl)
else()
target_link_libraries(pipy -pthread -ldl -lutil)
endif()

0 comments on commit d372975

Please sign in to comment.