diff options
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/curl/curl_8.6.0.bb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/recipes-support/curl/curl_8.6.0.bb b/meta/recipes-support/curl/curl_8.6.0.bb index ea69164d76..49ba0cb4a7 100644 --- a/meta/recipes-support/curl/curl_8.6.0.bb +++ b/meta/recipes-support/curl/curl_8.6.0.bb | |||
@@ -79,7 +79,7 @@ EXTRA_OECONF = " \ | |||
79 | ${@'--without-ssl' if (bb.utils.filter('PACKAGECONFIG', 'gnutls mbedtls openssl', d) == '') else ''} \ | 79 | ${@'--without-ssl' if (bb.utils.filter('PACKAGECONFIG', 'gnutls mbedtls openssl', d) == '') else ''} \ |
80 | " | 80 | " |
81 | 81 | ||
82 | do_install:append:class-target() { | 82 | fix_absolute_paths () { |
83 | # cleanup buildpaths from curl-config | 83 | # cleanup buildpaths from curl-config |
84 | sed -i \ | 84 | sed -i \ |
85 | -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \ | 85 | -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \ |
@@ -89,6 +89,14 @@ do_install:append:class-target() { | |||
89 | ${D}${bindir}/curl-config | 89 | ${D}${bindir}/curl-config |
90 | } | 90 | } |
91 | 91 | ||
92 | do_install:append:class-target() { | ||
93 | fix_absolute_paths | ||
94 | } | ||
95 | |||
96 | do_install:append:class-nativesdk() { | ||
97 | fix_absolute_paths | ||
98 | } | ||
99 | |||
92 | do_compile_ptest() { | 100 | do_compile_ptest() { |
93 | oe_runmake -C ${B}/tests | 101 | oe_runmake -C ${B}/tests |
94 | } | 102 | } |