[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [SECOND RESEND] [PATCH] tools/python: Pass linker to Python build process
On Thu, Oct 15, 2020 at 03:01:48AM +0200, Marek Marczykowski-Górecki wrote: > On Sun, Oct 11, 2020 at 06:11:39PM -0700, Elliott Mitchell wrote: > > Unexpectedly the environment variable which needs to be passed is > > $LDSHARED and not $LD. Otherwise Python may find the build `ld` instead > > of the host `ld`. > > > > Replace $(LDFLAGS) with $(SHLIB_LDFLAGS) as Python needs shared objects > > it can load at runtime, not executables. > > > > This uses $(CC) instead of $(LD) since Python distutils appends $CFLAGS > > to $LDFLAGS which breaks many linkers. > > > > Signed-off-by: Elliott Mitchell <ehem+xen@xxxxxxx> > > Acked-by: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx> Thanks. Applied. Wei.
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |