Apparently, rustc
calls the system cc
for linking, and it is not set up to look into /usr/local/lib/
for libraries. This is arguably the fault of the Homebrew rust
package. (It does appear to look for header files under /usr/local/
.)
Alternatively, the rust-portaudio
package could use pkg-config
to locate portaudio
.
I was able to let it build further by running
make COMPILER='rustc -L/usr/local/lib'
but then it runs into other errors that I don't understand.