about summary refs log tree commit diff
path: root/pkgs/build-support/auto-patchelf/setup-hook.sh
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-02-01 21:17:04 +0100
committeraszlig <aszlig@nix.build>2018-02-01 22:28:26 +0100
commit4af374e2c191465de99d4169376e1a9430302e82 (patch)
tree16b0dd4521a1ede5e380cf7d768e8fe835ebd719 /pkgs/build-support/auto-patchelf/setup-hook.sh
parent9dc27c57880db6469865dc2e6aaf295665c681a3 (diff)
auto-patchelf: Only search for deps with same arch
So far we only matched the file name of the dependency but not its
architecture, so if for example there is one shared object for
i686-linux and another one with the same name but for x86_64-linux,
chances are that the wrong architecture is chosen.

Now we're checking the architecture of the shared object file and only
pick it, if it matches the architecture of the file to patchelf.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/build-support/auto-patchelf/setup-hook.sh')
0 files changed, 0 insertions, 0 deletions