tools/python: pass more -rpath-link options to ld
authorJan Beulich <jbeulich@suse.com>
Thu, 5 Nov 2020 15:48:37 +0000 (16:48 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 5 Nov 2020 15:48:37 +0000 (16:48 +0100)
commit2b8314a3c354d04545700c80ff5a5f86799b79c7
tree99c4dbaaaf3f8a159eb830d583c2efe9cd6a8f54
parent9ff9705647646aa937b5f5c1426a64c69a62b3bd
tools/python: pass more -rpath-link options to ld

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 <jbeulich@suse.com>
Acked-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
tools/python/Makefile
tools/python/setup.py