summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/libfm/libfm.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/libfm/libfm.mk b/package/libfm/libfm.mk
index f0888b7e27..e8410d0288 100644
--- a/package/libfm/libfm.mk
+++ b/package/libfm/libfm.mk
@@ -12,4 +12,11 @@ LIBFM_LICENSE = GPLv2+, LGPLv2.1+
LIBFM_LICENSE_FILES = COPYING src/extra/fm-xml-file.c
LIBFM_INSTALL_STAGING = YES
+ifeq ($(BR2_PACKAGE_LIBEXIF),y)
+LIBFM_CONF_OPTS += --enable-exif
+LIBFM_DEPENDENCIES += libexif
+else
+LIBFM_CONF_OPTS += --disable-exif
+endif
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud