Skip to content

Commit

Permalink
Fix make install for asan build (JuliaLang#56347)
Browse files Browse the repository at this point in the history
Now the makescript finds libclang_rt.asan-x86_64.so for example.

The change from `-0` to `-1` is as with `-1`, `libclang_rt.asan-*` is
searched for in `usr/lib/julia` instead of `usr/lib`.
  • Loading branch information
Zentrik authored Nov 2, 2024
1 parent 671fc42 commit fe67097
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,9 @@ JL_PRIVATE_LIBS-$(USE_SYSTEM_CSL) += libpthread
endif
ifeq ($(SANITIZE),1)
ifeq ($(USECLANG),1)
JL_PRIVATE_LIBS-1 += libclang_rt.asan
JL_PRIVATE_LIBS-0 += libclang_rt.asan-*
else
JL_PRIVATE_LIBS-1 += libasan
JL_PRIVATE_LIBS-0 += libasan
endif
endif

Expand Down

0 comments on commit fe67097

Please sign in to comment.