about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-03-24 08:07:34 +0100
committerptitSeb <sebastien.chev@gmail.com>2022-03-24 08:07:34 +0100
commit9ebdf642984d5f617ac35e5183c1802b37be6d86 (patch)
tree1d6a7c497b5e795af1971247468efcb127ea778d
parentfa07a0f3310858c7000762d10778e42ace256a40 (diff)
downloadbox64-9ebdf642984d5f617ac35e5183c1802b37be6d86.tar.gz
box64-9ebdf642984d5f617ac35e5183c1802b37be6d86.zip
fixed typo in link command (for #256)
-rwxr-xr-xCMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 537a797f..11f1e7b1 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -535,7 +535,7 @@ set_target_properties(${BOX64} PROPERTIES ENABLE_EXPORTS ON)
 add_dependencies(${BOX64} WRAPPERS)
 #add_dependencies(${BOX64} PRINTER)
 #target_link_libraries(${BOX64} c m dl rt pthread resolv)
-set_target_properties(${BOX64} PROPERTIES LINK_FLAGS "-Wl,--no-as-need -lc -lm -ldl -lrt -lpthread -lresolv -Wl,--as-need -pthread")
+set_target_properties(${BOX64} PROPERTIES LINK_FLAGS "-Wl,--no-as-needed -lc -lm -ldl -lrt -lpthread -lresolv -Wl,--as-needed -pthread")
 if(DYNAREC)
     target_link_libraries(${BOX64} dynarec)
 endif()