[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/27113] libdep not correctly loaded on Windows
From: |
alexey.brodkin at gmail dot com |
Subject: |
[Bug binutils/27113] libdep not correctly loaded on Windows |
Date: |
Mon, 10 May 2021 16:32:43 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27113
--- Comment #6 from Alexey Brodkin <alexey.brodkin at gmail dot com> ---
No, unfortunately proposed patch doesn't change anything when cross-compiling
for Windows. Though the following change does the trick:
------------------------>8--------------------
diff --git a/ld/Makefile.am b/ld/Makefile.am
index 711a54ac0c4..989d899388d 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -1083,6 +1083,7 @@ install-data-local: install-bfdpluginLTLIBRARIES
done
rm -f $(DESTDIR)$(bfdplugindir)/libdep.la
rm -f $(DESTDIR)$(bfdplugindir)/libdep.a
+ 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.
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 23e95eb7b7e..87894ea0970 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -2682,6 +2682,7 @@ install-data-local: install-bfdpluginLTLIBRARIES
done
rm -f $(DESTDIR)$(bfdplugindir)/libdep.la
rm -f $(DESTDIR)$(bfdplugindir)/libdep.a
+ rm -f $(DESTDIR)$(bfdplugindir)/libdep.dll.a
diststuff: info $(EXTRA_DIST)
# Both info (ld.info) and ld.1 depend on configdoc.texi.
------------------------>8--------------------
Though I'm not sure if that's a legitimate fix for when we build natively on
Linux for Linux (for the record - no build failures happen anyway).
--
You are receiving this mail because:
You are on the CC list for the bug.