diff options
author | aszlig <aszlig@nix.build> | 2018-11-26 01:58:36 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-11-26 01:58:36 +0100 |
commit | 4a6e3e4185dcbe53c3d5eceaf2570d51516ad2b4 (patch) | |
tree | cbba0b7cad12e985e76934f975fdd2e78a3dc577 /doc/stdenv.xml | |
parent | 9f23a63f79e1a9d4a7f51444c12605d73ec770e1 (diff) |
autoPatchelfHook: Skip on missing segment headers
If the file in question is not a shared object file but an ELF, we
really want to skip the file, because we won't have anything to patch
there.
For example if the file is created via "gcc -c -o foo.o foo.c", we don't
get a segment header and so far autoPatchelf was trying to patch such a
file.
By checking for missing segment headers, we're now no longer going to
attempt patching such a file.
Signed-off-by: aszlig <aszlig@nix.build>
Reported-by: Sander van der Burg <svanderburg@gmail.com>
Diffstat (limited to 'doc/stdenv.xml')
0 files changed, 0 insertions, 0 deletions