From: "Clément Péron" <peron.clem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: "Clément Péron" <peron.clem@gmail.com>
Subject: [PATCH 2/2] proj: avoid leaking host path in libproj
Date: Wed, 7 Dec 2022 12:27:30 +0100 [thread overview]
Message-ID: <20221207112730.264291-2-peron.clem@gmail.com> (raw)
In-Reply-To: <20221207112730.264291-1-peron.clem@gmail.com>
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>
---
meta-oe/recipes-navigation/proj/proj_9.1.0.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 818c87bf0..218f08396 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
inherit cmake lib_package
-EXTRA_OECMAKE = "-DBUILD_TESTING=OFF"
+EXTRA_OECMAKE = "-DBUILD_TESTING=OFF -DSQLITE3_LIBRARY:STRING=sqlite3"
FILES:${PN} += "${datadir}/proj"
--
2.34.1
prev parent reply other threads:[~2022-12-07 11:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-07 11:27 [PATCH 1/2] proj: add a packageconfig to build as a static library Clément Péron
2022-12-07 11:27 ` Clément Péron [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221207112730.264291-2-peron.clem@gmail.com \
--to=peron.clem@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.