aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2021-04-30 18:14:55 +0100
committerCorinna Vinschen <corinna@vinschen.de>2021-04-30 21:06:33 +0200
commitb05b790689cb7fd29532f44e815f5fc5f8540063 (patch)
tree2a54a3f84e78926b2e579b9223aa5fd78943bac4
parent6914b40c146081f0c59a3666b1dcc2993ffa0402 (diff)
downloadnewlib-b05b790689cb7fd29532f44e815f5fc5f8540063.zip
newlib-b05b790689cb7fd29532f44e815f5fc5f8540063.tar.gz
newlib-b05b790689cb7fd29532f44e815f5fc5f8540063.tar.bz2
Cygwin: Ensure toollibdir exists before installing a link there
This helps 'make install -j2' work.
-rw-r--r--winsup/cygwin/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/Makefile.am b/winsup/cygwin/Makefile.am
index a2e673c..8cde3f4 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: