diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2015-09-30 04:08:59 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-01 07:43:37 +0100 |
commit | a7ac905b8cf9adcbaee6221938c52bf371aab2f4 (patch) | |
tree | 1d075a3977fd1868665beec7228813b45b4662d0 /meta/recipes-support | |
parent | 833bfd34485c7e7b567548b71e90aeff089e3c64 (diff) | |
download | poky-a7ac905b8cf9adcbaee6221938c52bf371aab2f4.tar.gz |
curl: cleanup buildpaths from curl-config
curl-config will be installed to target, cleanup buildpaths in it:
* remove ${STAGING_DIR_HOST} from CC, CFLAGS ...
(From OE-Core rev: 3e4978a534afc7fd4b82a044da8d9774cf09a4f0)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/curl/curl_7.44.0.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-support/curl/curl_7.44.0.bb b/meta/recipes-support/curl/curl_7.44.0.bb index b293303da3..f6d350e86a 100644 --- a/meta/recipes-support/curl/curl_7.44.0.bb +++ b/meta/recipes-support/curl/curl_7.44.0.bb | |||
@@ -45,6 +45,11 @@ do_install_append() { | |||
45 | oe_multilib_header curl/curlbuild.h | 45 | oe_multilib_header curl/curlbuild.h |
46 | } | 46 | } |
47 | 47 | ||
48 | do_install_append_class-target() { | ||
49 | # cleanup buildpaths from curl-config | ||
50 | sed -i -e 's,${STAGING_DIR_HOST},,g' ${D}${bindir}/curl-config | ||
51 | } | ||
52 | |||
48 | PACKAGES =+ "lib${BPN}" | 53 | PACKAGES =+ "lib${BPN}" |
49 | 54 | ||
50 | FILES_lib${BPN} = "${libdir}/lib*.so.*" | 55 | FILES_lib${BPN} = "${libdir}/lib*.so.*" |