summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/relocate_sdk.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/relocate_sdk.py b/scripts/relocate_sdk.py
index 637ffe9483..74bb7a5fdd 100755
--- a/scripts/relocate_sdk.py
+++ b/scripts/relocate_sdk.py
@@ -89,8 +89,8 @@ def change_interpreter():
89 if p_type == 3: 89 if p_type == 3:
90 # PT_INTERP section 90 # PT_INTERP section
91 f.seek(p_offset) 91 f.seek(p_offset)
92 dl_path = new_dl_path + "\0" * (e_phentsize - len(new_dl_path)) 92 dl_path = new_dl_path + "\0" * (p_filesz - len(new_dl_path))
93 f.write(new_dl_path) 93 f.write(dl_path)
94 break 94 break
95 95
96def change_dl_sysdirs(): 96def change_dl_sysdirs():