4 ms·
It's a BSD world thing :). Local (i.e. non-system) executables and libraries go under /usr/local around here (i.e. libraries under /usr/local/lib, binaries unde
by alxlaz 8y ago
It's a BSD world thing :). Local (i.e. non-system) executables and libraries go under /usr/local around here (i.e. libraries under /usr/local/lib, binaries under /usr/local/bin and so on, the hierarchy under /usr/local has the same structure as that under /usr).
- drewg123 8y agoYou can work around it by creating a cargo config with a wrapper. Eg: cat ~/.cargo/config [target.x86_64-unknown-freebsd] linker = "/home/drewg123/bin/cargo-ld" Where cargo-ld is just a wrapper: #!/bin/sh exec /usr/bin/ld -L/usr/local/lib $*
- majewsky 8y agoFor proper formatting of code snippets, indent the entire snippet with two spaces.
- notamy 8y ago> the hierarchy under /usr/local has the same structure as that under /usr So I can have /usr/local/local/local/local...? :)
- deleted 8y ago[deleted]