[Scons-users] Surprising change in behaviour of createSharedLibBuilder

Steve Hill (Wireless) Steve.Hill1 at viavisolutions.com
Mon Sep 20 04:55:10 EDT 2021


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20210920/1b3863c8/attachment.htm>


More information about the Scons-users mailing list