Patchwork curl:Fix multilib header conflict - curl/curlbuild.h

login
register
mail settings
Submitter Baogen Shang
Date Jan. 26, 2014, 7:55 a.m.
Message ID <1390722905-9709-1-git-send-email-baogen.shang@windriver.com>
Download mbox | patch
Permalink /patch/65855/
State New
Headers show

Comments

Baogen Shang - Jan. 26, 2014, 7:55 a.m.
curl/curlbuild.h conflicts between 32-bit and 64-bit versions.

Signed-off-by: Baogen Shang <baogen.shang@windriver.com>
---
 meta/recipes-support/curl/curl_7.34.0.bb |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-support/curl/curl_7.34.0.bb b/meta/recipes-support/curl/curl_7.34.0.bb
index c4e722d..b49c6e4 100644
--- a/meta/recipes-support/curl/curl_7.34.0.bb
+++ b/meta/recipes-support/curl/curl_7.34.0.bb
@@ -21,7 +21,7 @@  SRC_URI += " file://configure_ac.patch"
 SRC_URI[md5sum] = "88491df2bb32e9146e776ae6ac2f8327"
 SRC_URI[sha256sum] = "10beade56b48311499e444783df3413405b22f20a147ed4a1d8a8125f1cc829b"
 
-inherit autotools pkgconfig binconfig
+inherit autotools pkgconfig binconfig multilib_header
 
 EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \
                 --without-libssh2 \
@@ -41,6 +41,10 @@  do_configure_prepend() {
 	sed -i s:OPT_GNUTLS/bin:OPT_GNUTLS:g ${S}/configure.ac
 }
 
+do_install_append() {
+	oe_multilib_header curl/curlbuild.h
+}
+
 PACKAGES =+ "${PN}-certs libcurl libcurl-dev libcurl-staticdev libcurl-doc"
 
 FILES_${PN}-certs = "${datadir}/curl/curl-*"