diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-04-21 21:05:52 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-04 13:07:33 +0100 |
| commit | 25a6012a1e5a260a2c4c2a4bf27f8d254ba0a54a (patch) | |
| tree | 799f54c2eb51cede0f48eca62d8061f330a414a8 | |
| parent | 6b96b3c0cc40c0b41947972050166ca06f5cbed9 (diff) | |
| download | poky-25a6012a1e5a260a2c4c2a4bf27f8d254ba0a54a.tar.gz | |
gcompat: Fix build when usrmerge distro feature is enabled
(From OE-Core rev: 34a710cc8ebb18bb8443d635e06fefb7f6a003c2)
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>
(cherry picked from commit b1154d5fe7e75bb46132165b13ed76ce95413b25)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -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 | ||
