aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-09-05 23:26:38 +0000
committerChristopher Faylor <me@cgf.cx>2001-09-05 23:26:38 +0000
commit08547e64033de85b410bb158a872fb0a39b9e9ab (patch)
treea7213342f39fdf6c28e8d6a0865606f56e7c6445
parentb6077b89be896656128451fe8d548d0630fbe9de (diff)
downloadnewlib-08547e64033de85b410bb158a872fb0a39b9e9ab.zip
newlib-08547e64033de85b410bb158a872fb0a39b9e9ab.tar.gz
newlib-08547e64033de85b410bb158a872fb0a39b9e9ab.tar.bz2
* Makefile.in: Install libstdc++.a if it does not exist.
-rw-r--r--winsup/mingw/ChangeLog4
-rw-r--r--winsup/mingw/Makefile.in8
2 files changed, 11 insertions, 1 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index ba5cfa7..321273a 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,7 @@
+Wed Sep 5 19:24:50 2001 Christopher Faylor <cgf@cygnus.com>
+
+ * Makefile.in: Install libstdc++.a if it does not exist.
+
2001-08-29 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdarg.h (va_list): Typedef as __builtin_va_list if
diff --git a/winsup/mingw/Makefile.in b/winsup/mingw/Makefile.in
index d2f384c..5f35760 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