summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/uninative.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass
index 38c05dfc0a..580917b119 100644
--- a/meta/classes/uninative.bbclass
+++ b/meta/classes/uninative.bbclass
@@ -69,6 +69,8 @@ python uninative_changeinterp () {
69 sstateinst = d.getVar('SSTATE_INSTDIR', True) 69 sstateinst = d.getVar('SSTATE_INSTDIR', True)
70 for walkroot, dirs, files in os.walk(sstateinst): 70 for walkroot, dirs, files in os.walk(sstateinst):
71 for file in files: 71 for file in files:
72 if file.endswith(".so") or ".so." in file:
73 continue
72 f = os.path.join(walkroot, file) 74 f = os.path.join(walkroot, file)
73 if os.path.islink(f): 75 if os.path.islink(f):
74 continue 76 continue
@@ -82,5 +84,5 @@ python uninative_changeinterp () {
82 continue 84 continue
83 85
84 #bb.warn("patchelf-uninative --set-interpreter %s %s" % (d.getVar("UNINATIVE_LOADER", True), f)) 86 #bb.warn("patchelf-uninative --set-interpreter %s %s" % (d.getVar("UNINATIVE_LOADER", True), f))
85 subprocess.call("patchelf-uninative --set-interpreter %s %s" % (d.getVar("UNINATIVE_LOADER", True), f), shell=True) 87 subprocess.check_call("patchelf-uninative --set-interpreter %s %s" % (d.getVar("UNINATIVE_LOADER", True), f), shell=True)
86} 88}