Build failuure on "setup.py build develop"

I am compiling PyTorch source code from scratch.
Then I met an error with following message. How to avoid this message?
I also refer following issue, but it is not resolved.
https://github.com/pytorch/pytorch/issues/5539

extra_link_args += ['-L/usr/lib/x86_64-linux-gnu/']

Current output log tail

Processing dependencies for torch==0.5.0a0+788b2e9
Finished processing dependencies for torch==0.5.0a0+788b2e9
warning: no library file corresponding to '/usr/lib/x86_64-linux-gnu/libcudnn.so.7' found (skipping)
warning: no library file corresponding to '/usr/lib/x86_64-linux-gnu/libcudnn.so.7' found (skipping)

it’s not a failure, just a warning.

Thank you for commenting. and sorry for mis-titling

One further question. (if you know the reason)
The warning message come from distutils.
Does this mean setup.py’s parameter “libraries” is not working correctly?
https://docs.python.org/3/distutils/setupscript.html#library-options

Ref.
https://github.com/python/cpython/blob/3.6/Lib/distutils/ccompiler.py#L1111