summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/chrpath.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/chrpath.bbclass b/meta/classes/chrpath.bbclass
index 659db31cb8..4a6e697380 100644
--- a/meta/classes/chrpath.bbclass
+++ b/meta/classes/chrpath.bbclass
@@ -48,8 +48,9 @@ def process_dir (directory, d):
48 rpaths = curr_rpath.split(":") 48 rpaths = curr_rpath.split(":")
49 new_rpaths = [] 49 new_rpaths = []
50 for rpath in rpaths: 50 for rpath in rpaths:
51 # If rpath is already dynamic continue 51 # If rpath is already dynamic copy it to new_rpath and continue
52 if rpath.find("$ORIGIN") != -1: 52 if rpath.find("$ORIGIN") != -1:
53 new_rpaths.append(rpath.strip())
53 continue 54 continue
54 # If the rpath shares a root with base_prefix determine a new dynamic rpath from the 55 # If the rpath shares a root with base_prefix determine a new dynamic rpath from the
55 # base_prefix shared root 56 # base_prefix shared root