patchelf: dontPatchELF in setup hook is allowed to be undefined

This commit is contained in:
John Ericson 2019-10-30 14:40:07 +00:00
parent d21a660642
commit 3835442cf0

View File

@ -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"