./configure other arguments LIBS="-lxxx"
Ah yes.
This was the first thing that I tried and it failed. I tried CUDALIBS or something that does not exist, to avoid adding my own "-Lyyy -lxxx". No luck so I added -L to FLAGS. That worked, but LIBS is the right place to put this.
This should work. Send configure.log to
petsc-maint@mcs.anl.gov
How would I add a CUDA library that is in the CUDA library directory? That is just add -lxxx to the link line. I tried LIBS=-lxxx and that failed in configure.
Mark