[Buildroot] [PATCH 1/1] python-ipy: new package
Matthew Weber
mlweber1 at rockwellcollins.com
Tue Oct 1 19:51:00 UTC 2013
Arnout Vandecappelle <arnout at mind.be> wrote on 10/01/2013 11:40:56 AM:
> From: Arnout Vandecappelle <arnout at mind.be>
> To: Matt Weber <mlweber1 at rockwellcollins.com>
> Cc: buildroot at busybox.net
> Date: 10/01/2013 01:36 PM
> Subject: Re: [Buildroot] [PATCH 1/1] python-ipy: new package
>
> On 09/27/13 23:42, Matt Weber wrote:
[snip]
> > +define PYTHON_IPY_BUILD_CMDS
> > + (cd $(@D); \
> > + CC="$(TARGET_CC)" \
> > + CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
> > + LDSHARED="$(TARGET_CC) -shared" \
> > + LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/lib -L$
> (STAGING_DIR)/usr/lib" \
>
> The -I and -L shouldn't be needed - if they are, something else must
be
> wrong...
>
> I realize the other python packages don't do it, but why not use
> TARGET_CONFIGURE_OPTS?
Agree, I switched over to that and it works perfectly.
Plus the patch looks much cleaner :-)
[snip]
>
> Regards,
> Arnout
More information about the buildroot
mailing list