diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-03-24 08:07:34 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-03-24 08:07:34 +0100 |
| commit | 9ebdf642984d5f617ac35e5183c1802b37be6d86 (patch) | |
| tree | 1d6a7c497b5e795af1971247468efcb127ea778d | |
| parent | fa07a0f3310858c7000762d10778e42ace256a40 (diff) | |
| download | box64-9ebdf642984d5f617ac35e5183c1802b37be6d86.tar.gz box64-9ebdf642984d5f617ac35e5183c1802b37be6d86.zip | |
fixed typo in link command (for #256)
| -rwxr-xr-x | CMakeLists.txt | 2 |
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() |