summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/httpserver
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2017-08-01 08:27:50 +0000
committerRobin Gloster <mail@glob.in>2017-08-01 11:57:33 +0200
commit07674788d6932fe702117649b4cd16512d2da8a9 (patch)
tree1d5d6e213efc578fd45f50dddaa4e5f0f4debb5d /pkgs/development/python-modules/httpserver
parent6341cc91014142e17e58dbcd64907889c9895eb8 (diff)
Respect NIX_DONT_SET_RPATH when .so appears in the command line
Unified processing of command line arguments in ld-wrapper broke support for `NIX_DONT_SET_RPATH` and revealed that ld-wrapper adds the directory of its `-plugin` argument to runpath. This pull request fixes that. It treats `dir/libname.so` as `-L dir -l name`, because this is how `ld.so` interprets resulting binary: with `dir` in `RUNPATH` and the bare `libname.so` (without `dir`) in `NEEDED`, it looks for `libname.so` in each `RUNPATH` and chooses the first, even when the linker was invoked with an absolute path to `.so`.
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions