https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b05b790689cb7fd29532f44e815f5fc5f8540063

commit b05b790689cb7fd29532f44e815f5fc5f8540063
Author: Jon Turney <[email protected]>
Date:   Fri Apr 30 18:14:55 2021 +0100

    Cygwin: Ensure toollibdir exists before installing a link there
    
    This helps 'make install -j2' work.

Diff:
---
 winsup/cygwin/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/winsup/cygwin/Makefile.am b/winsup/cygwin/Makefile.am
index a2e673c13..8cde3f452 100644
--- a/winsup/cygwin/Makefile.am
+++ b/winsup/cygwin/Makefile.am
@@ -733,6 +733,7 @@ install-data-local: install-headers install-ldif
 install-libs:
        @$(MKDIR_P) $(DESTDIR)$(bindir)
        $(INSTALL_PROGRAM) $(TEST_DLL_NAME) $(DESTDIR)$(bindir)/$(DLL_NAME)
+       @$(MKDIR_P) $(DESTDIR)$(toollibdir)
        (cd $(DESTDIR)$(toollibdir) && ln -sf $(LIB_NAME) libg.a)
 
 install-headers:

Reply via email to