c-ares: enable shared library support
authorPhil Blundell <philb@gnu.org>
Fri, 29 Aug 2008 14:16:33 +0000 (14:16 +0000)
committerPhil Blundell <philb@gnu.org>
Fri, 29 Aug 2008 14:16:33 +0000 (14:16 +0000)
packages/c-ares/c-ares_1.5.3.bb

index 9098a9c..7375bda 100644 (file)
@@ -4,11 +4,14 @@ SECTION = "libs"
 SRC_URI = "http://daniel.haxx.se/projects/c-ares/c-ares-${PV}.tar.gz"
 LICENSE = "MIT"
 S = "${WORKDIR}/c-ares-${PV}"
+PR = "r1"
 
 inherit autotools
 
+EXTRA_OECONF = "--enable-shared"
+
 do_stage() {
-        oe_libinstall -C .libs -a libcares ${STAGING_LIBDIR}
+        oe_libinstall -C .libs -a -so libcares ${STAGING_LIBDIR}
        install -d ${STAGING_INCDIR}/ares
        install -m 0644 ares*.h ${STAGING_INCDIR}/ares/
 }