[Buildroot] [PATCH 1/2] package/lcdproc: override freetype-config path
Romain Naour
romain.naour at gmail.com
Sun Jun 11 20:48:27 UTC 2017
Hi Thomas,
Le 11/06/2017 à 17:49, Thomas Petazzoni a écrit :
> Hello,
>
> On Sun, 11 Jun 2017 15:13:16 +0200, Romain Naour wrote:
>> freetype-config from the host system may be used when installed.
>> Make sure that the one from HOST_DIR is used.
>>
>> checking if freetype support has been enabled... yes
>> checking for freetype-config... /usr/bin/freetype-config
>> checking for FreeType -- version >= 7.0.1... cross compiling; assuming OK... yes
>>
>> Fixes:
>> http://autobuild.buildroot.net/results/c7c/c7c52cd56b985fd73434d5997e9a6ab3f7d7e71e
>>
>> Signed-off-by: Romain Naour <romain.naour at gmail.com>
>> ---
>> package/lcdproc/lcdproc.mk | 2 ++
>> 1 file changed, 2 insertions(+)
>
> Applied to master, thanks. However, it's quite surprising to see this
> change, only a week after you did commit
> ce2e622dfe8a3f36bdf0c25b37a9f6ebbb23b6cc. What happened?
For some reason, freetype-config is miss-detected on some host machine and
/usr/bin/freetype-config is used instead of
${STAGING_DIR}/usr/bin/freetype-config. Weird... I have /usr/bin/freetype-config
installed on my host but even without this patch,
${STAGING_DIR}/usr/bin/freetype-config is used.
The same happen for libpng-config...
So, instead of relying on configure script, override freetype-config and
libpng-config path.
Best regards,
Romain
>
> Thanks!
>
> Thomas
>
More information about the buildroot
mailing list