diff options
-rw-r--r-- | meta/classes/base.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 0d92948972..f856298fb5 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -381,7 +381,10 @@ python () { | |||
381 | newappends.append(a) | 381 | newappends.append(a) |
382 | elif a.startswith("virtual/"): | 382 | elif a.startswith("virtual/"): |
383 | subs = a.split("/", 1)[1] | 383 | subs = a.split("/", 1)[1] |
384 | newappends.append("virtual/" + prefix + subs + extension) | 384 | if subs.startswith(prefix): |
385 | newappends.append(a + extension) | ||
386 | else: | ||
387 | newappends.append("virtual/" + prefix + subs + extension) | ||
385 | else: | 388 | else: |
386 | if a.startswith(prefix): | 389 | if a.startswith(prefix): |
387 | newappends.append(a + extension) | 390 | newappends.append(a + extension) |