summaryrefslogtreecommitdiff
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2010-11-17 16:26:58 +0800
committerSaul Wold <sgw@linux.intel.com>2010-11-22 10:30:30 -0800
commit89ab1ace5db6db12f012fa8520b3d25834af66aa (patch)
tree9efa187fce4e1c45d243bbfef14a823433e34abe /meta/recipes-support
parent4d6a8d257417997713002101469357fd0a19d2f5 (diff)
downloadopenembedded-core-89ab1ace5db6db12f012fa8520b3d25834af66aa.tar.gz
openembedded-core-89ab1ace5db6db12f012fa8520b3d25834af66aa.tar.bz2
openembedded-core-89ab1ace5db6db12f012fa8520b3d25834af66aa.tar.xz
openembedded-core-89ab1ace5db6db12f012fa8520b3d25834af66aa.zip
curl: fix native dependency
disable gnutls for -native also fix --with-gnutls parameter for target Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/curl/curl_7.21.2.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-support/curl/curl_7.21.2.bb b/meta/recipes-support/curl/curl_7.21.2.bb
index 1e1122289..fd1d5ddf7 100644
--- a/meta/recipes-support/curl/curl_7.21.2.bb
+++ b/meta/recipes-support/curl/curl_7.21.2.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e66
DEPENDS = "zlib gnutls"
DEPENDS_virtclass-native = "zlib-native"
DEPENDS_virtclass-nativesdk = "zlib-nativesdk"
-PR = "r0"
+PR = "r1"
SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
file://noldlibpath.patch \
@@ -17,7 +17,6 @@ SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
inherit autotools pkgconfig binconfig
EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \
- --with-gnutls=${STAGING_BINDIR_CROSS}/ \
--without-ssl \
--without-libssh2 \
--with-random=/dev/urandom \
@@ -25,6 +24,10 @@ EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \
--enable-crypto-auth \
"
+EXTRA_OECONF_append = " --with-gnutls=${STAGING_LIBDIR}/../"
+EXTRA_OECONF_virtclass-native_append = " --without-gnutls"
+EXTRA_OECONF_virtclass-nativesdk_append = " --without-gnutls"
+
do_configure_prepend() {
sed -i s:OPT_GNUTLS/bin:OPT_GNUTLS:g configure.ac
}