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

View File

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