package/gdal: add openssl optional dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2024-02-25 10:24:25 +01:00 committed by Arnout Vandecappelle
parent 8dd4917d86
commit d2f59ef0c4

View File

@ -46,7 +46,6 @@ GDAL_CONF_OPTS = \
-DGDAL_USE_BLOSC=OFF \
-DGDAL_USE_BRUNSLI=OFF \
-DGDAL_USE_CFITSIO=OFF \
-DGDAL_USE_OPENSSL=OFF \
-DGDAL_USE_CRYPTOPP=OFF \
-DGDAL_USE_CRNLIB=OFF \
-DGDAL_USE_ECW=OFF \
@ -130,6 +129,13 @@ else
GDAL_CONF_OPTS += -DENABLE_DEFLATE64=OFF
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
GDAL_DEPENDENCIES += openssl
GDAL_CONF_OPTS += -DGDAL_USE_OPENSSL=ON
else
GDAL_CONF_OPTS += -DGDAL_USE_OPENSSL=OFF
endif
ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
GDAL_DEPENDENCIES += postgresql
GDAL_CONF_OPTS += -DGDAL_USE_POSTGRESQL=ON