diff options
Diffstat (limited to 'curl')
-rw-r--r-- | curl/curl_7.10.8.oe | 5 | ||||
-rw-r--r-- | curl/curl_7.11.0.oe | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/curl/curl_7.10.8.oe b/curl/curl_7.10.8.oe index 47a5e57912..d06208eaf2 100644 --- a/curl/curl_7.10.8.oe +++ b/curl/curl_7.10.8.oe @@ -15,5 +15,8 @@ do_stage () { oe_soinstall lib/.libs/libcurl.so.2.0.2 ${STAGING_LIBDIR}/ install -m 0644 lib/.libs/libcurl.a ${STAGING_LIBDIR}/ install -m 0644 lib/.libs/libcurl.lai ${STAGING_LIBDIR}/libcurl.la - install -m 0755 curl-config ${STAGING_BINDIR}/ + + cat curl-config | sed -e "s,-I/usr/include,-I${STAGING_INCDIR}/," \ + | sed -e "s,-L/usr/lib , , "> ${STAGING_BINDIR}/curl-config + chmod a+rx ${STAGING_BINDIR}/curl-config } diff --git a/curl/curl_7.11.0.oe b/curl/curl_7.11.0.oe index 7b83ca4f52..6f07ca3735 100644 --- a/curl/curl_7.11.0.oe +++ b/curl/curl_7.11.0.oe @@ -15,5 +15,8 @@ do_stage () { oe_soinstall lib/.libs/libcurl.so.2.0.2 ${STAGING_LIBDIR}/ install -m 0644 lib/.libs/libcurl.a ${STAGING_LIBDIR}/ install -m 0644 /lib/.libs/libcurl.lai ${STAGING_LIBDIR}/libcurl.la - install -m 0755 curl-config ${STAGING_BINDIR}/ + + cat curl-config | sed -e "s,-I/usr/include,-I${STAGING_INCDIR}/," \ + | sed -e "s,-L/usr/lib , , "> ${STAGING_BINDIR}/curl-config + chmod a+rx ${STAGING_BINDIR}/curl-config } |