From 08547e64033de85b410bb158a872fb0a39b9e9ab Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 5 Sep 2001 23:26:38 +0000 Subject: [PATCH] * Makefile.in: Install libstdc++.a if it does not exist. --- winsup/mingw/ChangeLog | 4 ++++ winsup/mingw/Makefile.in | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index ba5cfa72e..321273a84 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,7 @@ +Wed Sep 5 19:24:50 2001 Christopher Faylor + + * Makefile.in: Install libstdc++.a if it does not exist. + 2001-08-29 Danny Smith * include/stdarg.h (va_list): Typedef as __builtin_va_list if diff --git a/winsup/mingw/Makefile.in b/winsup/mingw/Makefile.in index d2f384ca1..5f357602a 100644 --- a/winsup/mingw/Makefile.in +++ b/winsup/mingw/Makefile.in @@ -294,7 +294,7 @@ install-dirs: $(mkinstalldirs) $(bindir) $(mkinstalldirs) $(tooldir)/lib$(subdirforlib) -install: all install-dirs $(install_dlls_host) +install: all install-dirs $(install_dlls_host) $(tooldir)/lib$(subdirforlib)/libstdc++.a for i in $(LIBS); do \ $(INSTALL_DATA) $$i $(tooldir)/lib$(subdirforlib)/$$i ; \ done @@ -310,6 +310,12 @@ install: all install-dirs $(install_dlls_host) done @$(MAKE) subdirs DO=$@ $(FLAGS_TO_PASS) +$(tooldir)/lib$(subdirforlib)/libstdc++.a: libstdc++.a + @[ -f $? ] && cp -vp $? $@; exit 0 + +libstdc++.a: + @true + subdirs: $(SUBDIRS) @true -- 2.43.5