Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
cargo install does not respect LDFLAGS #3694
Comments
|
Right now Cargo respects RUSTFLAGS but that's the only env var for passing flags down. What sort of LDFLAGS are you thinking of? Note that the exact linker that the compiler invokes isn't guaranteed to not change over time, so there's not always a valid interpretation of LDFLAGS even if it exists. |
ChrisMacNaughton
commented
Mar 2, 2017
|
Sorry for the delay, @sergiusens would be able to go into more depth on the specifics. The goal was to get a Rust project built into a Snap with Snapcraft but the built binary wasn't using the correct libraries |
sergiusens
commented
Mar 5, 2017
|
where are |
ChrisMacNaughton
commented
Apr 10, 2017
|
expanding a bit on this, some issues we're having with getting this working: https://gist.github.com/ChrisMacNaughton/a81233e05995013ebb9a0c333c157b76 |
ChrisMacNaughton commentedFeb 13, 2017
When the building system has LDFLAGS set, cargo / rustc should respect the system's LDFLAGS