diff options
author | Robert Managan <ramanagan@att.net> | 2013-06-29 04:32:13 (GMT) |
---|---|---|
committer | Robert Managan <ramanagan@att.net> | 2013-06-29 04:32:13 (GMT) |
commit | 0711c543b3dde6c07fd02daba70ac3f21fea0fa6 (patch) | |
tree | 02650f9cc42add0d0f0db3c7ab09fb55f505b8b0 | |
parent | 83bbc93ceaf49a6aafe31db3a1e364a0ec902e15 (diff) | |
download | SCons-0711c543b3dde6c07fd02daba70ac3f21fea0fa6.zip SCons-0711c543b3dde6c07fd02daba70ac3f21fea0fa6.tar.gz SCons-0711c543b3dde6c07fd02daba70ac3f21fea0fa6.tar.bz2 |
when adding links to list of installed files we have strings so use append() on each instead of extend()
-rw-r--r-- | src/engine/SCons/Tool/install.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/install.py b/src/engine/SCons/Tool/install.py index 089c6f8..0c81d05 100644 --- a/src/engine/SCons/Tool/install.py +++ b/src/engine/SCons/Tool/install.py @@ -297,6 +297,8 @@ def add_versioned_targets_to_INSTALLED_FILES(target, source, env): global _INSTALLED_FILES, _UNIQUE_INSTALLED_FILES Verbose = False _INSTALLED_FILES.extend(target) + if Verbose: + print "ver lib emitter ",repr(target) # see if we have a versioned shared library, if so generate side effects version, libname, install_dir = versionedLibVersion(target[0].path, env) @@ -309,7 +311,9 @@ def add_versioned_targets_to_INSTALLED_FILES(target, source, env): fulllinkname = os.path.join(install_dir, linkname) env.SideEffect(fulllinkname,target[0]) env.Clean(target[0],fulllinkname) - _INSTALLED_FILES.extend(fulllinkname) + _INSTALLED_FILES.append(fulllinkname) + if Verbose: + print "installed list ", _INSTALLED_FILES _UNIQUE_INSTALLED_FILES = None return (target, source) |