]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
build: Fix "make install" for MinGW
authorLewis Hyatt <lhyatt@gmail.com>
Thu, 27 Jun 2024 20:11:27 +0000 (16:11 -0400)
committerLewis Hyatt <lhyatt@gcc.gnu.org>
Tue, 2 Jul 2024 16:17:18 +0000 (12:17 -0400)
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.

gcc/cp/Make-lang.in

index 026cf8d708838fa45dab467443dbc7bb51a0327a..e792ea4ddf3625dd281004b8e0fcbac3c5becb9f 100644 (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: