diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2019-10-30 14:40:07 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2019-11-01 14:44:44 -0400 |
commit | 3835442cf0973f435b6f543977fe40b7a2b9c51c (patch) | |
tree | 7184a607d9f8957d6fbfcd75ad0b0a617a723410 /pkgs/development/tools/misc | |
parent | d21a66064209083a2f14957792028c864cc8b8cf (diff) | |
download | nixlib-3835442cf0973f435b6f543977fe40b7a2b9c51c.tar nixlib-3835442cf0973f435b6f543977fe40b7a2b9c51c.tar.gz nixlib-3835442cf0973f435b6f543977fe40b7a2b9c51c.tar.bz2 nixlib-3835442cf0973f435b6f543977fe40b7a2b9c51c.tar.lz nixlib-3835442cf0973f435b6f543977fe40b7a2b9c51c.tar.xz nixlib-3835442cf0973f435b6f543977fe40b7a2b9c51c.tar.zst nixlib-3835442cf0973f435b6f543977fe40b7a2b9c51c.zip |
patchelf: `dontPatchELF` in setup hook is allowed to be undefined
Diffstat (limited to 'pkgs/development/tools/misc')
-rw-r--r-- | pkgs/development/tools/misc/patchelf/setup-hook.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/misc/patchelf/setup-hook.sh b/pkgs/development/tools/misc/patchelf/setup-hook.sh index bc1cddd4879c..576b9ca2103e 100644 --- a/pkgs/development/tools/misc/patchelf/setup-hook.sh +++ b/pkgs/development/tools/misc/patchelf/setup-hook.sh @@ -2,7 +2,7 @@ # directories from the RPATH of every library or executable in every # output. -fixupOutputHooks+=('if [ -z "$dontPatchELF" ]; then patchELF "$prefix"; fi') +fixupOutputHooks+=('if [ -z "${dontPatchELF-}" ]; then patchELF "$prefix"; fi') patchELF() { local dir="$1" |