This problem was reported by Douglas Kojetin <douglas dot kojetin at gmail dot com> at
https://mail.gna.org/public/relax-users/2006-11/msg00002.html (Message-id:
<AD17DD2D-A37B-44D4-B1B8-1A2349EC7EC5@...>) and as bug #7670 (https://gna.org/bugs/?7670).
To remove the '-dynamiclib' option, I replicated what Doug had done in his post at
https://mail.gna.org/public/relax-devel/2006-11/msg00098.html (Message-id:
<0E180DBB-896A-45F6-B19D-D6A02FD2BA4A@...>). Rather than changing the line:
env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -dynamiclib')
in the SCons sources, I have replicated Doug's modification within the relax 'sconstruct' script.
This change needs to be tested.