[Buildroot] [PATCH] perl-gd: fix build of native part

François Perrad francois.perrad at gadz.org
Thu Feb 16 11:08:07 UTC 2017


2017-02-15 22:39 GMT+01:00 Thomas Petazzoni
<thomas.petazzoni at free-electrons.com>:
> Hello,
>
> On Wed, 15 Feb 2017 08:42:12 +0100, Francois Perrad wrote:
>> EUMM don't find .xs file in subdirectory (only .pm files are handled)
>> So, let move lib/GD.xs in the root directory.
>>
>> Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
>
> What is this fixing?
>
> Here, the following defconfig builds just fine:
>
> BR2_arm=y
> BR2_cortex_a8=y
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_INIT_NONE=y
> BR2_SYSTEM_BIN_SH_NONE=y
> # BR2_PACKAGE_BUSYBOX is not set
> BR2_PACKAGE_PERL=y
> BR2_PACKAGE_PERL_GD=y
> # BR2_TARGET_ROOTFS_TAR is not set
>
> Is it just that the build succeeds, but it fails at runtime because the
> native part has been built/installed ?

Yes.

>
> Isn't moving GD.xs a dirty hack ? How was it working before ?
>

Previously, GD.xs was in the root directory, see
http://search.cpan.org/~lds/GD-2.53/MANIFEST

François

> Thanks,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot


More information about the buildroot mailing list