Re: [PATCH v2] tools/python: pass more -rpath-link options to ld

2020-11-05 Thread Jan Beulich
On 04.11.2020 18:19, Elliott Mitchell wrote: > On Wed, Nov 04, 2020 at 03:57:49PM +0100, Jan Beulich wrote: >> --- a/tools/python/Makefile >> +++ b/tools/python/Makefile >> @@ -8,19 +8,21 @@ PY_CFLAGS = $(CFLAGS) $(PY_NOOPT_CFLAGS) >> PY_LDFLAGS = $(SHLIB_LDFLAGS) $(APPEND_LDFLAGS) >> INSTALL_LOG

Re: [PATCH v2] tools/python: pass more -rpath-link options to ld

2020-11-04 Thread Marek Marczykowski
On Wed, Nov 04, 2020 at 03:57:49PM +0100, Jan Beulich wrote: > With the split of libraries, I've observed a number of warnings from > (old?) ld. > > Instead of duplicating the additions in two places, introduce a setup.py > make variable holding all the common parts of the invocations. > > Signed

Re: [PATCH v2] tools/python: pass more -rpath-link options to ld

2020-11-04 Thread Elliott Mitchell
On Wed, Nov 04, 2020 at 03:57:49PM +0100, Jan Beulich wrote: > --- a/tools/python/Makefile > +++ b/tools/python/Makefile > @@ -8,19 +8,21 @@ PY_CFLAGS = $(CFLAGS) $(PY_NOOPT_CFLAGS) > PY_LDFLAGS = $(SHLIB_LDFLAGS) $(APPEND_LDFLAGS) > INSTALL_LOG = build/installed_files.txt > > +setup.py = CC="$

[PATCH v2] tools/python: pass more -rpath-link options to ld

2020-11-04 Thread Jan Beulich
With the split of libraries, I've observed a number of warnings from (old?) ld. Instead of duplicating the additions in two places, introduce a setup.py make variable holding all the common parts of the invocations. Signed-off-by: Jan Beulich --- v2: Pass on and use SHLIB_libxen*. --- It's uncle