clamav 0.84: Don't stage the libraries libtool archive file, libclamav.la,
authorJamie Lenehan <lenehan@twibble.org>
Fri, 13 Oct 2006 07:52:29 +0000 (07:52 +0000)
committerJamie Lenehan <lenehan@twibble.org>
Fri, 13 Oct 2006 07:52:29 +0000 (07:52 +0000)
as things fail to link when they try and use it. They link fine if it
doesn't exist so remove it.

packages/clamav/clamav_0.88.4.bb

index 1395253..9cb432d 100644 (file)
@@ -15,7 +15,7 @@ RDEPENDS_${PN} = "${PN}-data"
 RDEPENDS_${PN}-daemon = "${PN}-data"
 RRECOMMENDS_${PN} = "${PN}-freshclam"
 RRECOMMENDS_${PN}-daemon = "${PN}-freshclam"
-PR = "r5"
+PR = "r6"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/clamav/clamav-${PV}.tar.gz \
           file://cross-compile-fix.patch;patch=1 \
@@ -66,6 +66,7 @@ do_install_append() {
 }
 do_stage () {
         oe_libinstall -a -so libclamav ${STAGING_LIBDIR}
+        rm -f ${STAGING_LIBDIR}/libclamav.la
         install -m 0644 libclamav/clamav.h ${STAGING_INCDIR}
 }