libaudio.so.2.4 is linked without EXTRA_LDOPTIONS linker flags
Network transparent, client/server audio transport system
Brought to you by:
jon13
When passing EXTRA_LDOPTIONS to make with WORLDOPTS='-k EXTRA_LDOPTIONS=...' the resulting libaudio.so.2.4 shared library is build without them flags (comparing to other program, e.g. autoconvert). That undermines applying system-wide build flags to a distributed software.
It seems that's a feature or a bug of imake (checked with imake-1.0.9 templates). Instead, SHLIBGLOBALSFLAGS is used for shared libraries.
An attached patch mirrors EXTRA_LDOPTIONS value into SHLIBGLOBALSFLAGS.
Though I'm not sure whether it's the best place for the fix.
Sorry for letting this one slip through the cracks. I've applied this to current master. Thanks!