diff options
-rw-r--r-- | meta/recipes-extended/lsb/lsb_5.0.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-extended/lsb/lsb_5.0.bb b/meta/recipes-extended/lsb/lsb_5.0.bb index df4812e4bc..d1de334008 100644 --- a/meta/recipes-extended/lsb/lsb_5.0.bb +++ b/meta/recipes-extended/lsb/lsb_5.0.bb | |||
@@ -34,7 +34,7 @@ S = "${WORKDIR}/lsb-release-1.4" | |||
34 | CLEANBROKEN = "1" | 34 | CLEANBROKEN = "1" |
35 | 35 | ||
36 | do_install() { | 36 | do_install() { |
37 | oe_runmake install prefix=${D}${base_prefix} mandir=${D}${datadir}/man/ DESTDIR=${D} | 37 | oe_runmake install prefix=${D}${root_prefix} mandir=${D}${datadir}/man/ DESTDIR=${D} |
38 | 38 | ||
39 | # these two dirs are needed by package lsb-dist-checker | 39 | # these two dirs are needed by package lsb-dist-checker |
40 | mkdir -p ${D}${sysconfdir}/opt | 40 | mkdir -p ${D}${sysconfdir}/opt |
@@ -99,7 +99,9 @@ do_install_append() { | |||
99 | fi | 99 | fi |
100 | 100 | ||
101 | if [ "${TARGET_ARCH}" = "x86_64" ]; then | 101 | if [ "${TARGET_ARCH}" = "x86_64" ]; then |
102 | if [ "${base_libdir}" != "${base_prefix}/lib64" ]; then | 102 | # don't symlink if usrmerge is in DISTRO_FEATURES as it manages the symlink |
103 | if ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','false','true',d)} && \ | ||
104 | [ "${base_libdir}" != "${base_prefix}/lib64" ]; then | ||
103 | lnr ${D}${base_libdir} ${D}${base_prefix}/lib64 | 105 | lnr ${D}${base_libdir} ${D}${base_prefix}/lib64 |
104 | fi | 106 | fi |
105 | cd ${D}${base_libdir} | 107 | cd ${D}${base_libdir} |