Fix dontPatchELF being set after the setup script has been sourced
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user