How do I link with a library that isn't installed in a system directory?


#1

I put all my custom libraries into some folder in my git directory. In C I use rpath and -L to link with it.
How do I let rust know where to find the library? it’s .so or .a or .la


#2

See this page: http://doc.crates.io/build-script.html