mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
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>
This commit is contained in:
@@ -35,6 +35,8 @@ EXTRA_OECMAKE = " \
|
|||||||
-DWITH_OPENSSL=ON \
|
-DWITH_OPENSSL=ON \
|
||||||
-DWITH_QT5=OFF \
|
-DWITH_QT5=OFF \
|
||||||
-DWITH_ZLIB=ON \
|
-DWITH_ZLIB=ON \
|
||||||
|
-DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \
|
||||||
|
-DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines' \
|
||||||
"
|
"
|
||||||
|
|
||||||
PACKAGECONFIG ??= "glib libevent"
|
PACKAGECONFIG ??= "glib libevent"
|
||||||
@@ -46,6 +48,10 @@ PACKAGECONFIG[python] = "-DWITH_PYTHON=ON,-DWITH_PYTHON=OFF,python"
|
|||||||
|
|
||||||
do_install:append () {
|
do_install:append () {
|
||||||
ln -sf thrift ${D}/${bindir}/thrift-compiler
|
ln -sf thrift ${D}/${bindir}/thrift-compiler
|
||||||
|
# remove absolute paths
|
||||||
|
sed -i -e 's|${RECIPE_SYSROOT}||g' ${D}${libdir}/cmake/thrift/thriftnbTargets.cmake
|
||||||
|
sed -i -e 's|${RECIPE_SYSROOT}||g' ${D}${libdir}/cmake/thrift/thrift_c_glibTargets.cmake
|
||||||
|
sed -i -e 's|${RECIPE_SYSROOT}||g' ${D}${libdir}/cmake/thrift/thrift_c_glib_zlibTargets.cmake
|
||||||
}
|
}
|
||||||
|
|
||||||
LEAD_SONAME = "libthrift.so.${PV}"
|
LEAD_SONAME = "libthrift.so.${PV}"
|
||||||
|
|||||||
Reference in New Issue
Block a user