mirror of
https://github.com/ptitSeb/box64.git
synced 2025-10-14 02:38:54 +08:00
Explicitly link standard libs through CMake (#3035)
* Explicitly link standard libs through CMake * Also keep the original link flags
This commit is contained in:

committed by
GitHub

parent
9b2bef153b
commit
79e3d00e35
@@ -1217,6 +1217,7 @@ else()
|
||||
endif()
|
||||
else()
|
||||
set_property(TARGET ${BOX64} APPEND_STRING PROPERTY LINK_FLAGS "-Wl,--no-as-needed -lc -lm -ldl -lrt -lpthread -lresolv -lutil -Wl,--as-needed -pthread ")
|
||||
target_link_libraries(${BOX64} c m dl pthread resolv util c)
|
||||
endif()
|
||||
endif()
|
||||
if(DYNAREC)
|
||||
|
Reference in New Issue
Block a user