All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] proj: add a packageconfig to build as a static library
@ 2022-12-07 11:27 Clément Péron
  2022-12-07 11:27 ` [PATCH 2/2] proj: avoid leaking host path in libproj Clément Péron
  0 siblings, 1 reply; 2+ messages in thread
From: Clément Péron @ 2022-12-07 11:27 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Clément Péron

Add a packageconfig to build Proj as a static library.

Keep the library shared by default.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
---
 meta-oe/recipes-navigation/proj/proj_9.1.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 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 ab69f0776..818c87bf0 100644
--- a/meta-oe/recipes-navigation/proj/proj_9.1.0.bb
+++ b/meta-oe/recipes-navigation/proj/proj_9.1.0.bb
@@ -16,9 +16,10 @@ FILES:${PN} += "${datadir}/proj"
 
 BBCLASSEXTEND = "native"
 
-PACKAGECONFIG ?= "curl"
+PACKAGECONFIG ?= "curl shared"
 PACKAGECONFIG:append:class-native = " apps"
 
 PACKAGECONFIG[apps] = "-DBUILD_APPS=ON, -DBUILD_APPS=OFF"
 PACKAGECONFIG[curl] = "-DENABLE_CURL=ON,-DENABLE_CURL=OFF,curl"
+PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,,"
 PACKAGECONFIG[tiff] = "-DENABLE_TIFF=ON,-DENABLE_TIFF=OFF,tiff"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-07 11:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 2/2] proj: avoid leaking host path in libproj Clément Péron

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.