diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-04-21 21:05:52 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-22 23:42:51 +0100 |
commit | a8d664c7a12affa7fbbc278bc1a08f0e649c49c6 (patch) | |
tree | 71aca38d49ef87b7999f896ae805b494081415c5 /meta/recipes-core | |
parent | fba37dce43370ab0cea30f28267676932a957100 (diff) | |
download | poky-a8d664c7a12affa7fbbc278bc1a08f0e649c49c6.tar.gz |
gcompat: Fix build when usrmerge distro feature is enabled
(From OE-Core rev: b1154d5fe7e75bb46132165b13ed76ce95413b25)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/musl/gcompat_git.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-core/musl/gcompat_git.bb b/meta/recipes-core/musl/gcompat_git.bb index 962bcd8c75..b051e43b6c 100644 --- a/meta/recipes-core/musl/gcompat_git.bb +++ b/meta/recipes-core/musl/gcompat_git.bb | |||
@@ -37,14 +37,14 @@ do_compile () { | |||
37 | } | 37 | } |
38 | 38 | ||
39 | do_install () { | 39 | do_install () { |
40 | oe_runmake install 'DESTDIR=${D}' | 40 | oe_runmake install 'DESTDIR=${D}${root_prefix}' |
41 | if [ "${SITEINFO_BITS}" = "64" ]; then | 41 | if [ "${SITEINFO_BITS}" = "64" ]; then |
42 | install -d ${D}/lib64 | 42 | install -d ${D}${nonarch_base_libdir}${SITEINFO_BITS} |
43 | ln -rs ${D}${GLIBC_LDSO} ${D}/lib64/`basename ${GLIBC_LDSO}` | 43 | ln -rs ${D}${GLIBC_LDSO} ${D}${nonarch_base_libdir}${SITEINFO_BITS}/`basename ${GLIBC_LDSO}` |
44 | fi | 44 | fi |
45 | } | 45 | } |
46 | 46 | ||
47 | FILES:${PN} += "/lib64" | 47 | FILES:${PN} += "${nonarch_base_libdir}${SITEINFO_BITS}" |
48 | 48 | ||
49 | INSANE_SKIP:${PN} = "libdir" | 49 | INSANE_SKIP:${PN} = "libdir" |
50 | 50 | ||