When gcrypt support is enabled, we need to tell systemd where
libgpg-error is installed.
Fixes:
http://autobuild.buildroot.org/results/
1fd6193ff33250565c95e53614f5aa7fc6f4581c/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
SYSTEMD_DEPENDENCIES += libgcrypt
SYSTEMD_CONF_OPTS += \
--enable-gcrypt \
- --with-libgcrypt-prefix=$(STAGING_DIR)/usr
+ --with-libgcrypt-prefix=$(STAGING_DIR)/usr \
+ --with-libgpg-error-prefix=$(STAGING_DIR)/usr
else
SYSTEMD_CONF_OPTS += --disable-gcrypt
endif