All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/gdal: add expat optional dependency
@ 2024-01-02 21:59 Fabrice Fontaine
  2024-01-02 22:21 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2024-01-02 21:59 UTC (permalink / raw)
  To: buildroot; +Cc: Dominik Michael Rauh, Fabrice Fontaine

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/gdal/gdal.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/gdal/gdal.mk b/package/gdal/gdal.mk
index 13f38173fa..5690f55c00 100644
--- a/package/gdal/gdal.mk
+++ b/package/gdal/gdal.mk
@@ -51,7 +51,6 @@ GDAL_CONF_OPTS = \
 	-DGDAL_USE_CRNLIB=OFF \
 	-DGDAL_USE_CURL=OFF \
 	-DGDAL_USE_ECW=OFF \
-	-DGDAL_USE_EXPAT=OFF \
 	-DGDAL_USE_FILEGDB=OFF \
 	-DGDAL_USE_FREEXL=OFF \
 	-DGDAL_USE_GEOS=OFF \
@@ -107,6 +106,13 @@ GDAL_CONF_OPTS = \
 	-DBUILD_JAVA_BINDINGS=OFF \
 	-DBUILD_PYTHON_BINDINGS=OFF
 
+ifeq ($(BR2_PACKAGE_EXPAT),y)
+GDAL_DEPENDENCIES += expat
+GDAL_CONF_OPTS += -DGDAL_USE_EXPAT=ON
+else
+GDAL_CONF_OPTS += -DGDAL_USE_EXPAT=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_LIBXML2),y)
 GDAL_DEPENDENCIES += libxml2
 GDAL_CONF_OPTS += -DGDAL_USE_LIBXML2=ON
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/gdal: add expat optional dependency
  2024-01-02 21:59 [Buildroot] [PATCH 1/1] package/gdal: add expat optional dependency Fabrice Fontaine
@ 2024-01-02 22:21 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-01-02 22:21 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Dominik Michael Rauh, buildroot

On Tue,  2 Jan 2024 22:59:15 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/gdal/gdal.mk | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-01-02 22:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-02 21:59 [Buildroot] [PATCH 1/1] package/gdal: add expat optional dependency Fabrice Fontaine
2024-01-02 22:21 ` Thomas Petazzoni via buildroot

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.