diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-15 15:09:32 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-15 15:09:32 -0500 |
commit | 8c32e095b3e70f1aea13d7f16aad29eea9746626 (patch) | |
tree | 9709ba68d531cc9d5af522800f348b8021b72c95 | |
parent | de1c62b5fe0162b6c821a88a27a1b9f6ff10c569 (diff) | |
download | gpsd-8c32e095b3e70f1aea13d7f16aad29eea9746626.tar.gz |
In the build, clean up shared-library linknames properly.
Previous rule was cleaning only the last one made.
No code changes.
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -962,7 +962,7 @@ def VersionedSharedLibraryInstall(env, destination, libs): for linksuffix in [shlib_suffix, major_name, minor_name]: linkname = re.sub(suffix_re, linksuffix, lib) env.AddPostAction(ilibs, 'cd %s; rm -f %s; ln -s %s %s' % (destination, linkname, lib, linkname)) - env.Clean(lib, linkname) + env.Clean(lib, linkname) return ilibs if not env["shared"]: |