From 4a0cec02fdfb7cecf7b5de15736fe796d8a33421 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 3 Feb 2019 23:39:28 +0100 Subject: [PATCH] package/libgeotiff: add optional proj dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/libgeotiff/libgeotiff.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/libgeotiff/libgeotiff.mk b/package/libgeotiff/libgeotiff.mk index 522802cc94..a4606bc30c 100644 --- a/package/libgeotiff/libgeotiff.mk +++ b/package/libgeotiff/libgeotiff.mk @@ -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)) -- 2.30.2