mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-19 10:23:17 +00:00
cmake/FindRust.cmake: strip MSVC linker flags ...
... from native libraries array. Otherwise Ninja will get very confused.
This commit is contained in:
parent
2cc3afe1aa
commit
f4b4f33dfa
1 changed files with 2 additions and 0 deletions
|
@ -425,6 +425,8 @@ foreach(LINE ${LINE_LIST})
|
|||
string(REPLACE "native-static-libs: " "" LINE "${LINE}")
|
||||
string(REGEX REPLACE " " "" LINE "${LINE}")
|
||||
string(REGEX REPLACE " " ";" LINE "${LINE}")
|
||||
# remove linker flags
|
||||
list(FILTER LINE EXCLUDE REGEX "/.*")
|
||||
|
||||
if(LINE)
|
||||
message(STATUS "Rust's native static libs: ${LINE}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue