diff options
-rw-r--r-- | meta/classes/package.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 6775fda480..c351f26db0 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -778,6 +778,8 @@ python split_and_strip_files () { | |||
778 | if lpath and lpath != ".": | 778 | if lpath and lpath != ".": |
779 | ftarget += lpath + debugdir + "/" | 779 | ftarget += lpath + debugdir + "/" |
780 | ftarget += lbase + debugappend | 780 | ftarget += lbase + debugappend |
781 | if lpath.startswith(".."): | ||
782 | ftarget = os.path.join("..", ftarget) | ||
781 | bb.mkdirhier(os.path.dirname(fpath)) | 783 | bb.mkdirhier(os.path.dirname(fpath)) |
782 | #bb.note("Symlink %s -> %s" % (fpath, ftarget)) | 784 | #bb.note("Symlink %s -> %s" % (fpath, ftarget)) |
783 | os.symlink(ftarget, fpath) | 785 | os.symlink(ftarget, fpath) |