Skip to content

Commit

Permalink
fix configure probe for libcufile
Browse files Browse the repository at this point in the history
The libcufile probe now requires -ldl passsed to the linker.

Signed-off-by: Brian T. Smith <[email protected]>
  • Loading branch information
bsmith94 committed Oct 18, 2022
1 parent 2f160e0 commit 57a5412
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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" ""
Expand Down

0 comments on commit 57a5412

Please sign in to comment.