[Scons-users] Building versioned shared library fails when using MinGW
Ray Speth
speth at darkmatter.mit.edu
Sat Nov 19 17:59:48 EST 2016
Hi,
I have encountered an apparent bug when trying to build versioned shared
libraries with MinGW. A minimal SConstruct:
env = Environment(tools=['mingw'])
lib = env.SharedLibrary('foo', ['foo.cpp'], SHLIBVERSION='2.4')
env.AlwaysBuild(lib)
generates the following output:
scons: Reading SConscript files ...
scons: *** A shared library should have exactly one target with the
suffix: .dll
File "path\to\SConstruct", line 2, in <module>
I have tested this with SCons 2.4.1, 2.5.0, and 2.5.1, with the same
results.
Regards,
Ray
More information about the Scons-users
mailing list