diff options
author | John Ericson <git@JohnEricson.me> | 2019-10-25T14·39-0400 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-17T14·56+0100 |
commit | 4b50bd28a05b5c6eb05365b3dd3d5fd6739dbb83 (patch) | |
tree | 5453b546aca87c6887877b847af08627d690acd3 /README.md | |
parent | d64f60c733980fb18437f41e1bc791a5d1ccb536 (diff) |
feat(3p/nix): meson: Don't look for libraries in lib dir r/731
1. First of all, this doesn't work in nixpkgs. Per [1], gcc ignores `-L` for purposes of `--print-file-dirs`, which breaks horribly on linux. But if we don't pass extra dirs, meosn first just tries `-l...`, which does work. 2. Even if it did work, `libdir` means where we are installing libs, not where libs are expected to be found. Those are not necessarily the same (again, nixpkgs), and even when they are and non-standard, it is better to use DESTDIR or have a modified toolchain. [1]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87758 (cherry picked from commit a142164e746644e20f66908c156ca913bef4664f)
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions