aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-02-03 23:39:28 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-02-04 14:03:56 +0100
commit4a0cec02fdfb7cecf7b5de15736fe796d8a33421 (patch)
tree57c70422c48216f222fb471d0bf277b1c22bb3ba
parent8d40bb75864e5b579b052b95b8b85a5ac3e208a4 (diff)
downloadbuildroot-4a0cec02fdfb7cecf7b5de15736fe796d8a33421.tar.gz
buildroot-4a0cec02fdfb7cecf7b5de15736fe796d8a33421.tar.bz2
package/libgeotiff: add optional proj dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-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))