[Buildroot] Feedback ?
thomas.petazzoni at free-electrons.com
Mon Oct 20 13:48:14 UTC 2008
Le Wed, 15 Oct 2008 16:47:37 +0200,
Thomas Petazzoni <thomas.petazzoni at free-electrons.com> a écrit :
> Make sure libraries are visible when building packages
> This patch adds an LDFLAGS variable before calling the configure
> script of any package, in order to fix two problems :
> * Some configure scripts were not able to compile the test programs
> used to test whether zlib was properly installed. The configure
> scripts are properly using -lz, but the
> -L/path/to/staging_dir/usr/lib option was not present, leading to
> build failure.
> * While linking applications, for example the applications included
> in the fontconfig package, I had build failures like :
> warning: libfreetype.so.6, needed by ../src/.libs/libfontconfig.so,
> not found (try using -rpath or -rpath-link)
> this is due to the fact that ld is not able to find the other
> already installed shared libraries.
May I have some feedback on this patch ? Without this, Buildroot is
just unusable here.
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
More information about the buildroot