daemon: don't re-exec if the linker supports the -z,now option upstream/master
authorVivek Dasmohapatra <vivek@collabora.co.uk>
Fri, 26 Jan 2018 01:58:19 +0000 (03:58 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Fri, 26 Jan 2018 02:05:38 +0000 (04:05 +0200)
commit6d7e057b3739c365964892296a9cf4fc075bc844
tree76a12672743614e6629bea9fcaa74cb63380c1ac
parentf250341b8035c225cea5448cb0c0fd79e7471561
daemon: don't re-exec if the linker supports the -z,now option

Usually PulseAudio is built with a linker that supports the -z,now
option, and that option should have the same effect (i.e. the dynamic
linker resolves all symbols when the program is started) as re-execing
with the LD_BIND_NOW environment variable set, so usually the re-execing
is redundant.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=104789
configure.ac
src/daemon/main.c