[Scons-users] Problem with DLL dependencies on Windows

Dirk Bächle tshortik at gmx.de
Sat May 25 13:17:10 EDT 2013


On 25.05.2013 14:57, Dmitry Mikhin wrote:

> Hello Dirk,

>

> I confirm that the second of these approaches indeed works (not only

> in the little test project, but in the main, large-scale case):

>

>> 2.) or, you allow the library finder to search for .DLL files as well, by

>> adding

>>

>> env.Append(LIBPREFIXES = ['$SHLIBPREFIX'])

>> env.Append(LIBSUFFIXES = ['$SHLIBSUFFIX'])

>>

>> while constructing the main Environment in your top-level SConstruct.

> The first approach would obviously work as well, but it is too manual,

> which is precisely what we're trying to avoid (and also more verbose).

>

> The remaining question now is: whether the suggested behavior shall be

> the default?


Can't say anything about it, I'm not working under Windows. ;)


> Many thanks for looking into the problem.

> Dmitry

>


You're very welcome. Thanks a lot for the positive feedback and the
well-prepared example.

Regards,

Dirk



More information about the Scons-users mailing list