package/libgeotiff: add optional proj dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2019-02-03 23:39:28 +01:00 committed by Thomas Petazzoni
parent 8d40bb7586
commit 4a0cec02fd

View File

@ -26,4 +26,11 @@ else
LIBGEOTIFF_CONF_OPTS += --without-jpeg
endif
ifeq ($(BR2_PACKAGE_PROJ),y)
LIBGEOTIFF_DEPENDENCIES += proj
LIBGEOTIFF_CONF_OPTS += --with-proj=$(STAGING_DIR)/usr
else
LIBGEOTIFF_CONF_OPTS += --without-proj
endif
$(eval $(autotools-package))