From: Brian T. Smith Date: Mon, 26 Sep 2022 17:59:18 +0000 (-0500) Subject: fix configure probe for libcufile X-Git-Tag: fio-3.33~12^2~1 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=57a5412fa68e5a83ebc103566f037e220bc43808;p=fio.git fix configure probe for libcufile The libcufile probe now requires -ldl passsed to the linker. Signed-off-by: Brian T. Smith --- 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" ""