public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
* [PATCH] Cygwin: create install dir for libs
@ 2020-08-27 12:02 David McFarland
  2020-09-04 12:54 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: David McFarland @ 2020-08-27 12:02 UTC (permalink / raw)
  To: cygwin-patches

This fixes a race in parallel installs.
---
 winsup/cygwin/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index fac81759e..ea0243033 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -600,7 +600,7 @@ install: install-libs install-headers install-man install-ldif install_target \
 uninstall: uninstall-libs uninstall-headers uninstall-man
 
 install-libs: $(TARGET_LIBS)
-	@$(MKDIRP) $(DESTDIR)$(bindir)
+	@$(MKDIRP) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/lib
 	$(INSTALL_PROGRAM) $(TEST_DLL_NAME) $(DESTDIR)$(bindir)/$(DLL_NAME); \
 	for i in $^; do \
 	    $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/lib/`basename $$i` ; \
-- 
2.28.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Cygwin: create install dir for libs
  2020-08-27 12:02 [PATCH] Cygwin: create install dir for libs David McFarland
@ 2020-09-04 12:54 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2020-09-04 12:54 UTC (permalink / raw)
  To: cygwin-patches

On Aug 27 09:02, David McFarland via Cygwin-patches wrote:
> This fixes a race in parallel installs.
> ---
>  winsup/cygwin/Makefile.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
> index fac81759e..ea0243033 100644
> --- a/winsup/cygwin/Makefile.in
> +++ b/winsup/cygwin/Makefile.in
> @@ -600,7 +600,7 @@ install: install-libs install-headers install-man install-ldif install_target \
>  uninstall: uninstall-libs uninstall-headers uninstall-man
>  
>  install-libs: $(TARGET_LIBS)
> -	@$(MKDIRP) $(DESTDIR)$(bindir)
> +	@$(MKDIRP) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/lib
>  	$(INSTALL_PROGRAM) $(TEST_DLL_NAME) $(DESTDIR)$(bindir)/$(DLL_NAME); \
>  	for i in $^; do \
>  	    $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/lib/`basename $$i` ; \
> -- 
> 2.28.0

Pushed.

Thanks,
Corinna

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-04 12:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-27 12:02 [PATCH] Cygwin: create install dir for libs David McFarland
2020-09-04 12:54 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).