scripts: fix asan patch

This commit is contained in:
Vaxry 2024-03-22 18:34:12 +00:00
parent 397e08c16a
commit 461757e2fb
2 changed files with 5 additions and 4 deletions

View file

@ -121,6 +121,7 @@ if(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
message(STATUS "Enabling ASan")
target_link_libraries(Hyprland asan)
target_link_libraries(Hyprland ${CMAKE_SOURCE_DIR}/libwayland-server.a)
target_compile_options(Hyprland PUBLIC -fsanitize=address)
endif()