llvm-ld warns when linking against shared libraries #1674
Labels
bugzilla
Issues migrated from bugzilla
code-cleanup
llvm-tools
All llvm tools that do not have corresponding tag
Extended Description
When creating a native executable with llvm-ld and linking against a shared
(.so) library, using the -l option, llvm-ld generates the following warning:
llvm-ld: warning: Supposed library 'name_of_lib' isn't a library.
However, the produced executable seems to work fine, and seems to find
libname_of_lib.so through LD_LIBRARY_PATH just fine. Reid Spencer advised that
this is most likely a code cleanup bug.
The text was updated successfully, but these errors were encountered: