[Buildroot] [PATCH] libgcrypt: install libgcrypt-config in host directory

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jul 11 09:24:44 UTC 2012


Le Wed, 11 Jul 2012 00:19:08 +0200,
"Arnout Vandecappelle (Essensium/Mind)" <arnout at mind.be> a écrit :

> Packages depending on libgcrypt call libgcrypt-config to determine its
> CFLAGS.  If libgcrypt-config happens to be installed on the host, this
> will add /usr/include to the target include path.  So make sure
> libgcrypt-config is in the host directory.
> 
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>

For most packages, we just leave the <foo>-config script in
$(STAGING_DIR), and then adjust their reverse dependencies .mk file to
point specifically to the $(STAGING_DIR) for that script.

I am not a big fan of doing otherwise specifically for libgcrypt.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list