[Buildroot] [PATCH] host-pkgconf: use --static option for static builds

Peter Korsgaard jacmet at uclibc.org
Wed May 7 20:40:43 UTC 2014


>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:

 > On 05/03/14 13:19, Vicente Olivert Riera wrote:
 >> Detect when BR2_PREFER_STATIC_LIBS is selected and modify the host
 >> pkg-config wrapper to append the --static option in that case.
 >> 
 >> Fixes:
 >> http://autobuild.buildroot.net/results/161/161446dde7e8e774773eb2b34fd555f5ac22dd02/
 >> 
 >> Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>

 > Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
 > Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>

 >  Tested with an allpackageyesconfig with 
 > http://autobuild.buildroot.org/toolchains/configs/free-electrons/br-x86-64-core2-full.config
 > as the toolchain (and PREFER_STATIC added to the config, of course).

 >  I ran this config with and without this patch applied, by running make -k
 > and then make -k again to collect the failures. 

 >  The following packages are fixed by this patch:
 > at
 > gdk-pixbuf
 > xerces
 > xfsprogs

Thanks for the work both - Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list