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