about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-10-20 10:40:29 +0200
committerGitHub <noreply@github.com>2021-10-20 10:40:29 +0200
commitcb06d283835e271b9aa1cecd89d6345927046161 (patch)
tree7e764ce197d37314e367b8e1fd502e5be1f7d297
parent36bfcd21d4ff11db13ba8487d7d1f8323cee7610 (diff)
downloadbox64-cb06d283835e271b9aa1cecd89d6345927046161.tar.gz
box64-cb06d283835e271b9aa1cecd89d6345927046161.zip
Added explicit link with libc (might help with #120)
-rwxr-xr-xCMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e2361028..75ee4719 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -457,7 +457,7 @@ add_executable(${BOX64} ${ELFLOADER_SRC} ${WRAPPEDS} "${BOX64_ROOT}/src/git_head
 set_target_properties(${BOX64} PROPERTIES ENABLE_EXPORTS ON)
 add_dependencies(${BOX64} WRAPPERS)
 #add_dependencies(${BOX64} PRINTER)
-target_link_libraries(${BOX64} m dl rt pthread)
+target_link_libraries(${BOX64} c m dl rt pthread)
 if(ARM_DYNAREC)
     target_link_libraries(${BOX64} dynarec)
 endif()