summaryrefslogtreecommitdiff
path: root/packages/c-ares
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2008-08-29 14:16:33 +0000
committerPhil Blundell <philb@gnu.org>2008-08-29 14:16:33 +0000
commit5ddd65ca331ae09bcf5505b0a7836a83aa1666ca (patch)
treed674066a44586391148f013cee7b1d785a78ba2a /packages/c-ares
parenta11471ceda7613108917fa99120923a86e3076a4 (diff)
c-ares: enable shared library support
Diffstat (limited to 'packages/c-ares')
-rw-r--r--packages/c-ares/c-ares_1.5.3.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/c-ares/c-ares_1.5.3.bb b/packages/c-ares/c-ares_1.5.3.bb
index 9098a9cb31..7375bda980 100644
--- a/packages/c-ares/c-ares_1.5.3.bb
+++ b/packages/c-ares/c-ares_1.5.3.bb
@@ -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/
}