]> sourceware.org Git - automake.git/commitdiff
* lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
authorAlexandre Duret-Lutz <adl@gnu.org>
Tue, 30 Apr 2002 22:13:50 +0000 (22:13 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Tue, 30 Apr 2002 22:13:50 +0000 (22:13 +0000)
files.  Fix subobj9.test on OSF and IRIX.
Reported by Nelson H. F. Beebe.

ChangeLog
lib/am/ltlib.am

index c8dbdc88ded143e1ed13084c2f4d5361136e8b67..e3886ec9d7dd96850a8fa6db63018ed25f0bc1e4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,13 @@
+2002-04-30  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
+       files.  Fix subobj9.test on OSF and IRIX.
+       Reported by Nelson H. F. Beebe.
+
 2002-04-26  Tom Tromey  <tromey@redhat.com>
 
        * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
-       For Debian bug 14421.
+       For Debian bug 144221.
 
 2002-04-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
 
index 29a1473123d67b2e8168460a1e86b62ab77bc01b..d9044cc2d274b23cb8897cc77e54e0697dc20310 100644 (file)
@@ -77,3 +77,12 @@ endif %?INSTALL%
 .PHONY clean-am: clean-%DIR%LTLIBRARIES
 clean-%DIR%LTLIBRARIES:
        -test -z "$(%DIR%_LTLIBRARIES)" || rm -f $(%DIR%_LTLIBRARIES)
+## `so_locations' files are created by some linkers (IRIX, OSF) when
+## building a shared object.  Libtool places these files in the
+## directory where the shared object is created.
+       @list='$(%DIR%_LTLIBRARIES)'; for p in $$list; do \
+         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+         test -z "$dir" && dir=.; \
+         echo "rm -f \"$${dir}/so_locations\""; \
+         rm -f "$${dir}/so_locations"; \
+       done
This page took 0.029643 seconds and 5 git commands to generate.