diff --git a/configure.ac b/configure.ac index 231f1e1c58..6edc02da91 100644 --- a/configure.ac +++ b/configure.ac @@ -136,7 +136,7 @@ if test "x$asan_enabled" = "xtrue"; then CFLAGS_ASAN+=" -Wno-maybe-uninitialized" AC_SUBST(CFLAGS_ASAN) - LDFLAGS_ASAN+=" -lasan" + LDFLAGS_ASAN+=" -fsanitize=address" AC_SUBST(LDFLAGS_ASAN) fi