Skip to content

Commit

Permalink
Make sure to link against LLVM's asan version
Browse files Browse the repository at this point in the history
  • Loading branch information
romainthomas committed Feb 15, 2025
1 parent ff370cc commit 175c7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ if(LIEF_ASAN)

set_property(TARGET LIB_LIEF
APPEND PROPERTY LINK_FLAGS -fsanitize=address)
target_link_libraries(LIB_LIEF INTERFACE asan)
target_link_libraries(LIB_LIEF INTERFACE libclang_rt.asan.so)
endif()

if(LIEF_LSAN)
Expand Down

0 comments on commit 175c7f4

Please sign in to comment.