[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: [RESEND] [PATCH] tools/python: Pass linker to Python build process



>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>

Tested-by: Mark Pryor <pryorm09@xxxxxxxx>



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.