summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/libgeotiff/libgeotiff.mk7
1 files changed, 7 insertions, 0 deletions
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))
OpenPOWER on IntegriCloud