Surprising change in behaviour of createSharedLibBuilder

"Steve Hill \(Wireless\) via Scons-users" <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <DM8PR18MB44697B7D86280B0B847F1DC1D1A09@DM8PR18MB4469.namprd18.prod.outlook.com>
Hi,

I've just started the process of upgrading from SCons 3.1.2 to 4.2.0 and some of our Tools have been broken by a change that I find surprising.

Where we define a ShLib builder, we define $SHLIBPREFIX and $SHLIBSUFFIX, amongst other things, before calling createSharedLibBuilder(env).

Moving to 4.2.0, this resulted in the prefix still being honoured, while the suffix was not. By default, the builder now takes $SHLIBPREFIX and $_SHLIBSUFFIX. Could someone explain the reason for the new asymmetry?

Is the preferred solution to add the optional argument (SCons.Tool.createSharedLibBuilder(env, "$SHLIBSUFFIX")) or to change our Tools to define $_SHLIBSUFFIX instead of $SHLIBSUFFIX?

Thanks,

S.

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.