build: Fix "make install" for MinGW

Since r8-4925, the "make install" recipe generates a path which can start
with "//", causing problems for some Windows environments. Fix by removing
the redundant slash.

gcc/cp/ChangeLog:

	* Make-lang.in: Remove redundant slash.
This commit is contained in:
Lewis Hyatt 2024-06-27 16:11:27 -04:00 committed by Lewis Hyatt
parent fef7b8ce90
commit bd9c550acc

View file

@ -344,7 +344,7 @@ c++.install-plugin: installdirs
# Install import library.
ifeq ($(plugin_implib),yes)
$(mkinstalldirs) $(DESTDIR)$(plugin_resourcesdir)
$(INSTALL_DATA) cc1plus$(exeext).a $(DESTDIR)/$(plugin_resourcesdir)/cc1plus$(exeext).a
$(INSTALL_DATA) cc1plus$(exeext).a $(DESTDIR)$(plugin_resourcesdir)/cc1plus$(exeext).a
endif
c++.uninstall: