From: Thomas Petazzoni Date: Tue, 29 Mar 2016 18:00:20 +0000 (+0200) Subject: systemd: fix build with libgcrypt enabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5a56880ad651c8ad5e50e89ed3472fa1b81a643;p=buildroot.git systemd: fix build with libgcrypt enabled 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 --- diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 79e657e5f3..75ad961d59 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -115,7 +115,8 @@ ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) 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