diff options
| author | Clément Péron <peron.clem@gmail.com> | 2022-12-07 12:27:30 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-12-08 17:10:47 -0800 |
| commit | 8000be0ee9254487d2c24f04868cbaf68bf65d93 (patch) | |
| tree | 974f9fa49a3020afcb176f1a8d3cfc257e6e9458 | |
| parent | cae5b12981374c03885cd8ec6b444c27654e7895 (diff) | |
| download | meta-openembedded-8000be0ee9254487d2c24f04868cbaf68bf65d93.tar.gz | |
proj: avoid leaking host path in libproj
When compiling libproj for a SDK, the proj-targets.cmake generated
contains the host path in the INTERFACE_LINK_LIBRARIES.
This path comes from the sqlite3 libraries that gives the full path
to the sqlite3 library at build time.
Force the libproj to link with "sqlite3" instead of a full path.
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-navigation/proj/proj_9.1.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-navigation/proj/proj_9.1.0.bb b/meta-oe/recipes-navigation/proj/proj_9.1.0.bb index 818c87bf04..218f083969 100644 --- a/meta-oe/recipes-navigation/proj/proj_9.1.0.bb +++ b/meta-oe/recipes-navigation/proj/proj_9.1.0.bb | |||
| @@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "81b2239b94cad0886222cde4f53cb49d34905aad2a1317244a0c30a553 | |||
| 10 | 10 | ||
| 11 | inherit cmake lib_package | 11 | inherit cmake lib_package |
| 12 | 12 | ||
| 13 | EXTRA_OECMAKE = "-DBUILD_TESTING=OFF" | 13 | EXTRA_OECMAKE = "-DBUILD_TESTING=OFF -DSQLITE3_LIBRARY:STRING=sqlite3" |
| 14 | 14 | ||
| 15 | FILES:${PN} += "${datadir}/proj" | 15 | FILES:${PN} += "${datadir}/proj" |
| 16 | 16 | ||
