From 57a5412fa68e5a83ebc103566f037e220bc43808 Mon Sep 17 00:00:00 2001 From: "Brian T. Smith" Date: Mon, 26 Sep 2022 12:59:18 -0500 Subject: [PATCH] fix configure probe for libcufile The libcufile probe now requires -ldl passsed to the linker. Signed-off-by: Brian T. Smith --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 546541a2..24c599a8 100755 --- a/configure +++ b/configure @@ -2723,9 +2723,9 @@ int main(int argc, char* argv[]) { return 0; } EOF - if compile_prog "" "-lcuda -lcudart -lcufile" "libcufile"; then + if compile_prog "" "-lcuda -lcudart -lcufile -ldl" "libcufile"; then libcufile="yes" - LIBS="-lcuda -lcudart -lcufile $LIBS" + LIBS="-lcuda -lcudart -lcufile -ldl $LIBS" else if test "$libcufile" = "yes" ; then feature_not_found "libcufile" "" -- 2.25.1