Fix dontPatchELF being set after the setup script has been sourced

This commit is contained in:
Eelco Dolstra 2014-06-27 11:29:51 +02:00
parent 83a41771ab
commit d7a4fa26b0

@ -2,9 +2,7 @@
# directories from the RPATH of every library or executable in every
# output.
if [ -z "$dontPatchELF" ]; then
addHook fixupOutput 'patchELF "$prefix"'
fi
addHook fixupOutput 'if [ -z "$dontPatchELF" ]; then patchELF "$prefix"; fi'
patchELF() {
header "patching ELF executables and libraries in $prefix"