[Buildroot] [PATCH RFC 2/2] package/perl-gd: Add a new option to set the path to gdlib-config
romain.naour at openwide.fr
Sun Dec 21 21:24:31 UTC 2014
Le 21/12/2014 13:20, Thomas Petazzoni a écrit :
> Dear Romain Naour,
> On Sun, 21 Dec 2014 00:51:00 +0100, Romain Naour wrote:
>> The build of perl-gd use the gdlib-config from the host that in result
>> incorect features enabled, incorrect header and library paths.
>> Should fixes:
>> And many more.
>> In the generated Makefile, LDFLAGS still contains "-L/usr/local/lib"
>> Signed-off-by: Romain Naour <romain.naour at openwide.fr>
>> .../0004-gdlib-config-is-now-configurable.patch | 67 ++++++++++++++++++++++
>> package/perl-gd/perl-gd.mk | 3 +-
>> 2 files changed, 69 insertions(+), 1 deletion(-)
>> create mode 100644 package/perl-gd/0004-gdlib-config-is-now-configurable.patch
> We have another patch from François for the same issue, at
> http://patchwork.ozlabs.org/patch/415924/. However, Peter raised some
> concerns about François approach, and your patch indeed seems better.
> François, can you comment/review Romain's patch? See
> Romain, any chance you can submit your patch upstream?
perl-gd upstream has added a new Build.PL file that has the same issues for cross-compiling. Also, François's patches haven't been merged yet.
More information about the buildroot