summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/relocate_sdk.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/relocate_sdk.py b/scripts/relocate_sdk.py
index 05d9fd65ed..b2dd258c34 100755
--- a/scripts/relocate_sdk.py
+++ b/scripts/relocate_sdk.py
@@ -224,12 +224,12 @@ for e in executables_list:
# Save old size and do a size check at the end. Just a safety measure.
old_size = os.path.getsize(e)
-
- arch = get_arch()
- if arch:
- parse_elf_header()
- change_interpreter(e)
- change_dl_sysdirs()
+ if old_size >= 64:
+ arch = get_arch()
+ if arch:
+ parse_elf_header()
+ change_interpreter(e)
+ change_dl_sysdirs()
""" change permissions back """
if perms: