diff options
| -rw-r--r-- | meta/classes/chrpath.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/chrpath.bbclass b/meta/classes/chrpath.bbclass index 82329d1de3..0c7ab77a81 100644 --- a/meta/classes/chrpath.bbclass +++ b/meta/classes/chrpath.bbclass | |||
| @@ -49,10 +49,10 @@ def process_dir (directory, d): | |||
| 49 | new_rpaths = [] | 49 | new_rpaths = [] |
| 50 | for rpath in rpaths: | 50 | for rpath in rpaths: |
| 51 | # If rpath is already dynamic copy it to new_rpath and continue | 51 | # If rpath is already dynamic copy it to new_rpath and continue |
| 52 | rpath = os.path.normpath(rpath) | ||
| 53 | if rpath.find("$ORIGIN") != -1: | 52 | if rpath.find("$ORIGIN") != -1: |
| 54 | new_rpaths.append(rpath.strip()) | 53 | new_rpaths.append(rpath.strip()) |
| 55 | continue | 54 | continue |
| 55 | rpath = os.path.normpath(rpath) | ||
| 56 | # If the rpath shares a root with base_prefix determine a new dynamic rpath from the | 56 | # If the rpath shares a root with base_prefix determine a new dynamic rpath from the |
| 57 | # base_prefix shared root | 57 | # base_prefix shared root |
| 58 | if rpath.find(basedir) != -1: | 58 | if rpath.find(basedir) != -1: |
