mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
cae5b12981
commit
8000be0ee9
|
|
@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "81b2239b94cad0886222cde4f53cb49d34905aad2a1317244a0c30a553
|
|||
|
||||
inherit cmake lib_package
|
||||
|
||||
EXTRA_OECMAKE = "-DBUILD_TESTING=OFF"
|
||||
EXTRA_OECMAKE = "-DBUILD_TESTING=OFF -DSQLITE3_LIBRARY:STRING=sqlite3"
|
||||
|
||||
FILES:${PN} += "${datadir}/proj"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user