diff options
author | Amarnath Valluri <amarnath.valluri@intel.com> | 2017-02-22 10:27:06 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-24 23:43:32 +0000 |
commit | cc32ccc2fb928b0afce7d4add1b61a3073f8988e (patch) | |
tree | 3b219f7c1aa17eb0fa50de862c738d50b3b33464 /meta/recipes-core/musl/musl_git.bb | |
parent | 80c3ce22bd92e1f16134584fd8fc5bc01f4b4278 (diff) | |
download | poky-cc32ccc2fb928b0afce7d4add1b61a3073f8988e.tar.gz |
musl: Fix issues in relative symlink creation
Make use of lnr/ln -r while creating relative symlinks than guessing the
relalive path.
(From OE-Core rev: 8205b92631bc1dcb3419c709ef5a98b2b3cd9d70)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/musl/musl_git.bb')
-rw-r--r-- | meta/recipes-core/musl/musl_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index fa87d7d3e3..39745f5bfb 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb | |||
@@ -49,7 +49,7 @@ do_install() { | |||
49 | oe_runmake install DESTDIR='${D}' | 49 | oe_runmake install DESTDIR='${D}' |
50 | 50 | ||
51 | install -d ${D}${bindir} | 51 | install -d ${D}${bindir} |
52 | ln -s ../../${libdir}/libc.so ${D}${bindir}/ldd | 52 | lnr ${D}${libdir}/libc.so ${D}${bindir}/ldd |
53 | for l in crypt dl m pthread resolv rt util xnet | 53 | for l in crypt dl m pthread resolv rt util xnet |
54 | do | 54 | do |
55 | ln -s libc.so ${D}${libdir}/lib$l.so | 55 | ln -s libc.so ${D}${libdir}/lib$l.so |