diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2023-08-29 17:54:38 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-08-29 08:08:10 -0700 |
commit | 24b89b9ccc49b201543af21ece205bfc7b5d7390 (patch) | |
tree | 630839be3b8e14a09a2cd041f45a3e8a28f33870 | |
parent | 9156898cc5ba59d1c2da811836dc9eac1547d4df (diff) | |
download | meta-openembedded-24b89b9ccc49b201543af21ece205bfc7b5d7390.tar.gz |
thrift: Remove buildpaths
Fixes:
WARNING: thrift-0.18.1-r0 do_package_qa: QA Issue: File /usr/lib64/cmake/thrift/thriftnbTargets.cmake in package thrift-dev contains reference to TMPDIR
File /usr/lib64/cmake/thrift/thrift_c_glibTargets.cmake in package thrift-dev contains reference to TMPDIR
File /usr/lib64/cmake/thrift/thrift_c_glib_zlibTargets.cmake in package thrift-dev contains reference to TMPDIR [buildpaths]
WARNING: thrift-0.18.1-r0 do_package_qa: QA Issue: File /usr/src/debug/thrift/0.18.1-r0/compiler/cpp/thrift/thrifty.hh in package thrift-src contains reference to TMPDIR
File /usr/src/debug/thrift/0.18.1-r0/compiler/cpp/thrift/thrifty.cc in package thrift-src contains reference to TMPDIR
File /usr/src/debug/thrift/0.18.1-r0/compiler/cpp/thrift/thriftl.cc in package thrift-src contains reference to TMPDIR [buildpaths]
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-connectivity/thrift/thrift_0.18.1.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/thrift/thrift_0.18.1.bb b/meta-oe/recipes-connectivity/thrift/thrift_0.18.1.bb index ea5a3972dc..2809e24ad1 100644 --- a/meta-oe/recipes-connectivity/thrift/thrift_0.18.1.bb +++ b/meta-oe/recipes-connectivity/thrift/thrift_0.18.1.bb | |||
@@ -35,6 +35,8 @@ EXTRA_OECMAKE = " \ | |||
35 | -DWITH_OPENSSL=ON \ | 35 | -DWITH_OPENSSL=ON \ |
36 | -DWITH_QT5=OFF \ | 36 | -DWITH_QT5=OFF \ |
37 | -DWITH_ZLIB=ON \ | 37 | -DWITH_ZLIB=ON \ |
38 | -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \ | ||
39 | -DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines' \ | ||
38 | " | 40 | " |
39 | 41 | ||
40 | PACKAGECONFIG ??= "glib libevent" | 42 | PACKAGECONFIG ??= "glib libevent" |
@@ -46,6 +48,10 @@ PACKAGECONFIG[python] = "-DWITH_PYTHON=ON,-DWITH_PYTHON=OFF,python" | |||
46 | 48 | ||
47 | do_install:append () { | 49 | do_install:append () { |
48 | ln -sf thrift ${D}/${bindir}/thrift-compiler | 50 | ln -sf thrift ${D}/${bindir}/thrift-compiler |
51 | # remove absolute paths | ||
52 | sed -i -e 's|${RECIPE_SYSROOT}||g' ${D}${libdir}/cmake/thrift/thriftnbTargets.cmake | ||
53 | sed -i -e 's|${RECIPE_SYSROOT}||g' ${D}${libdir}/cmake/thrift/thrift_c_glibTargets.cmake | ||
54 | sed -i -e 's|${RECIPE_SYSROOT}||g' ${D}${libdir}/cmake/thrift/thrift_c_glib_zlibTargets.cmake | ||
49 | } | 55 | } |
50 | 56 | ||
51 | LEAD_SONAME = "libthrift.so.${PV}" | 57 | LEAD_SONAME = "libthrift.so.${PV}" |