diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-02-13 22:03:13 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-02-13 20:54:51 -0800 |
| commit | 91a0e892290e0cff803714d9f7445f3b89641c8e (patch) | |
| tree | 587d97b3935e53cf0d88de923aef4f0a334e29ea /meta-python/recipes-devtools/python/python3-rfc3986-validator | |
| parent | b16f9c6f046fa6275d1afa7ee60acc8d85849163 (diff) | |
| download | meta-openembedded-91a0e892290e0cff803714d9f7445f3b89641c8e.tar.gz | |
jsonrpc: fix interface library paths in cmake files
The cmake files generated by this recipe contain a number
of interfacing libraries, with absolute paths, which also
contain the TMPDIR. The TMPDIR part of these paths were
just truncated by the recipe, to avoid the corresponding
QA check error.
However this made it impossible to to link against this
library from other recipes. When one tried, the find_package
command failed with the following error:
| Run Build Command(s): ninja -v -j 12 all
| ninja: error: '/usr/lib/libjsoncpp.so', needed by 'jsonrpctest', missing and no known rule to make it
To avoid this, instead of just truncating this path, set it to
${CMAKE_SYSROOT} placeholder (which is resolved by CMake to
the correct value at build-time, using the variable set by
cmake.bbclass)
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-rfc3986-validator')
0 files changed, 0 insertions, 0 deletions
