Prevent libdel.dll.a from being installed on Windows based systems.
authorNick Clifton <nickc@redhat.com>
Tue, 11 May 2021 10:06:53 +0000 (11:06 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 11 May 2021 10:06:53 +0000 (11:06 +0100)
PR 27113
* Makefile.am (install-data-local): Also delete libdep.dll.a if it
is present.
* Makefile.in: Regenerate.

ld/ChangeLog
ld/Makefile.am
ld/Makefile.in

index e92638a162ba66c8301089a5b136404b5b25a06b..68328a8aac24155edb5b8df56675495f5f251bbc 100644 (file)
@@ -1,3 +1,10 @@
+2021-05-11  Nick Clifton  <nickc@redhat.com>
+
+       PR 27113
+       * Makefile.am (install-data-local): Also delete libdep.dll.a if it
+       is present.
+       * Makefile.in: Regenerate.
+
 2021-05-10  Dimitar Dimitrov  <dimitar@dinux.eu>
 
        * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list.
index 0314a58a5a36d463a9330b52a0243d924434a891..f8e99325361a12e7c078e62512ae0d16783f8afe 100644 (file)
@@ -1081,6 +1081,7 @@ install-data-local: install-bfdpluginLTLIBRARIES
          $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
        done
        rm -f $(DESTDIR)$(bfdplugindir)/libdep.la
+       rm -f $(DESTDIR)$(bfdplugindir)/libdep.dll.a
 
 # Stuff that should be included in a distribution.  The diststuff
 # target is run by the taz target in ../Makefile.in.
index 211e62000a75a6df76353050631587d19600f02c..ef2e99e08da73518f8c3a18e043352f342bbfbb5 100644 (file)
@@ -2680,6 +2680,7 @@ install-data-local: install-bfdpluginLTLIBRARIES
          $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
        done
        rm -f $(DESTDIR)$(bfdplugindir)/libdep.la
+       rm -f $(DESTDIR)$(bfdplugindir)/libdep.dll.a
 diststuff: info $(EXTRA_DIST)
 
 # Both info (ld.info) and ld.1 depend on configdoc.texi.