diff options
author | William Deegan <bill@baddogconsulting.com> | 2021-01-15 19:58:15 +0000 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2021-01-15 19:58:15 +0000 |
commit | 48ea8aad37fc9c0196bb95b299809e6c53d4a012 (patch) | |
tree | e56349c5b867870136d3870d2542226add4bd771 /test/LINK | |
parent | a4efe5deb3c5522ee89b79b6a34465f5946233f2 (diff) | |
download | scons-git-48ea8aad37fc9c0196bb95b299809e6c53d4a012.tar.gz |
Add generating versioned shared library to D SharedObject tests (in addition to existing plain shared library test.
Diffstat (limited to 'test/LINK')
-rw-r--r-- | test/LINK/VersionedLib.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/LINK/VersionedLib.py b/test/LINK/VersionedLib.py index 5f74f9211..44cd0ee4f 100644 --- a/test/LINK/VersionedLib.py +++ b/test/LINK/VersionedLib.py @@ -1,6 +1,8 @@ #!/usr/bin/env python # -# __COPYRIGHT__ +# MIT License +# +# Copyright The SCons Foundation # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -21,8 +23,6 @@ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" - import os import TestSCons @@ -218,7 +218,7 @@ for t in test_plan: instfiles = t['instfiles'] test.write('SConstruct', """\ -import os +DefaultEnvironment(tools=[]) env = Environment() objs = env.SharedObject('test.c') mylib = env.SharedLibrary('test', objs, SHLIBVERSION = '%s') |