diff options
| -rw-r--r-- | meta/recipes-devtools/expect/expect_5.45.bb | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/meta/recipes-devtools/expect/expect_5.45.bb b/meta/recipes-devtools/expect/expect_5.45.bb index 630f2e4649..e2d24e8d85 100644 --- a/meta/recipes-devtools/expect/expect_5.45.bb +++ b/meta/recipes-devtools/expect/expect_5.45.bb @@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = "file://license.terms;md5=fbf2de7e9102505b1439db06fc36ce5c"  DEPENDS += "tcl"  RDEPENDS_${PN} = "tcl" -inherit autotools +inherit autotools update-alternatives  PR = "r1" @@ -57,6 +57,11 @@ EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \                  "  EXTRA_OEMAKE_install = " 'SCRIPTS=' " +ALTERNATIVE_${PN}  = "mkpasswd" +ALTERNATIVE_LINK_NAME[mkpasswd] = "${bindir}/mkpasswd" +# Use lower priority than busybox's mkpasswd (created when built with CONFIG_CRYPTPW) +ALTERNATIVE_PRIORITY[mkpasswd] = "40" +  FILES_${PN}-dev = "${libdir_native}/expect${PV}/libexpect*.so \                     ${includedir}/expect.h \                     ${includedir}/expect_tcl.h \ | 
