Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scripts/env_use_destdir: propagate PREFIX, LIBDIR, BINDIR, etc.
On systems using non-default `PREFIX`, `LIBDIR`, `SHLIBDIR`, `BINDIR` or `SBINDIR`, running `DESTDIR=/path/to/destdir ./scripts/env_use_destdir make test` does not perform the intended behavior, because the testing programs and libraries are installed into locations that are not added to `LD_LIBRARY_PATH` nor `PATH`. More precisely, with `LIBDIR=/usr/lib64 SHLIBDIR=/lib64`, `env_use_destdir` does not work. Fix this by adding the installation directories relative to `DESTDIR` in `LD_LIBRARY_PATH` and `PATH`. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> Acked-by: Petr Lautrbach <plautrba@redhat.com>
- Loading branch information