summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-15 15:09:32 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-15 15:09:32 -0500
commit8c32e095b3e70f1aea13d7f16aad29eea9746626 (patch)
tree9709ba68d531cc9d5af522800f348b8021b72c95
parentde1c62b5fe0162b6c821a88a27a1b9f6ff10c569 (diff)
downloadgpsd-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--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 8c4db86d..80e9f489 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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"]: