1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

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>
This commit is contained in:
Wenzong Fan
2015-09-30 04:08:59 -04:00
committed by Richard Purdie
parent 833bfd3448
commit a7ac905b8c
+5
View File
@@ -45,6 +45,11 @@ do_install_append() {
oe_multilib_header curl/curlbuild.h
}
do_install_append_class-target() {
# cleanup buildpaths from curl-config
sed -i -e 's,${STAGING_DIR_HOST},,g' ${D}${bindir}/curl-config
}
PACKAGES =+ "lib${BPN}"
FILES_lib${BPN} = "${libdir}/lib*.so.*"