1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

libgcrypt: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x
avoid this issue:

| rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/libgcrypt-1.5.0-r0/image/usr/sbin': No such file or directory
NOTE: package libgcrypt-1.5.0-r0: task do_install: Failed

no PR bump as no change in the output

(From OE-Core rev: c17511dee02428bb457d1ae08356ef2f8a7f9888)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Nitin A Kamble
2012-05-03 10:29:32 -07:00
committed by Richard Purdie
parent fc537f3447
commit f91fbc6f7a
@@ -21,9 +21,6 @@ EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"
do_install_append() {
install -d ${D}/${libdir}/pkgconfig
install -m 0644 ${S}/src/libgcrypt.pc ${D}/${libdir}/pkgconfig/
# Remove empty sbin directory since we don't build the daemon that would install there
rmdir ${D}${sbindir}
}
FILES_${PN}-dev += "${bindir}/dumpsexp ${bindir}/hmac256"