diff --git a/package/ecryptfs-utils/ecryptfs-utils.mk b/package/ecryptfs-utils/ecryptfs-utils.mk index 393ea4da78..6eb3add98b 100644 --- a/package/ecryptfs-utils/ecryptfs-utils.mk +++ b/package/ecryptfs-utils/ecryptfs-utils.mk @@ -16,6 +16,15 @@ ECRYPTFS_UTILS_CONF_OPTS = --disable-pywrap ECRYPTFS_UTILS_CONF_ENV = ac_cv_path_POD2MAN=true +ifeq ($(BR2_PACKAGE_LIBGPGME),y) +ECRYPTFS_UTILS_CONF_OPTS += \ + --enable-gpg \ + --with-gpgme-prefix=$(STAGING_DIR)/usr +ECRYPTFS_UTILS_DEPENDENCIES += libgpgme +else +ECRYPTFS_UTILS_CONF_OPTS += --disable-gpg +endif + ifeq ($(BR2_PACKAGE_LINUX_PAM),y) ECRYPTFS_UTILS_CONF_OPTS += --enable-pam ECRYPTFS_UTILS_DEPENDENCIES += linux-pam