LD_LIBRARY_PATH is meant for the dynamic linker to search for shared libraries at runtime. Previously libbpf-sys abused this variable to provide pathes for the linker(invoked by rustc) to find libraries at build time. And this is not documented at all.
This commit proposes to use a dedicated enviroment variable for this purpose and documents it in README.md
LD_LIBRARY_PATH is meant for the dynamic linker to search for shared libraries at runtime. Previously libbpf-sys abused this variable to provide pathes for the linker(invoked by rustc) to find libraries at build time. And this is not documented at all.
This commit proposes to use a dedicated enviroment variable for this purpose and documents it in README.md
Fix #50