]> git.ipfire.org Git - thirdparty/kmod.git/commit
scripts/sanitizer-env.sh: check and warn if OUR_PRELOAD is not a file
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 1 Nov 2024 13:37:47 +0000 (13:37 +0000)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 7 Nov 2024 17:07:41 +0000 (11:07 -0600)
commit870aa6fe9921456c57daf4ee5cf17aece327b544
tree7fd18c915b3faa7f1f3ebc0013d450979dc1231a
parent613a21d6624cedfb79fb3c994c04b652de82809f
scripts/sanitizer-env.sh: check and warn if OUR_PRELOAD is not a file

As seen with the upcoming clang 19 change, the library name has changed.
Enhance the current test to check if the compiler provided string is a
file and produce a warning with some handy tips when that's not the
case.

v2:
 - convert to heredoc
 - output to stderr

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/219
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
scripts/sanitizer-env.sh