diff options
-rw-r--r-- | libio/Makefile.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libio/Makefile.in b/libio/Makefile.in index ed597cc..75a1d00 100644 --- a/libio/Makefile.in +++ b/libio/Makefile.in @@ -107,8 +107,13 @@ install: rootme=`pwd`/ ; export rootme ; \ if [ -z "$(MULTISUBDIR)" ]; then \ if [ "$(_G_CONFIG_H)" != "" ]; then \ - rm -f $(tooldir)/include/_G_config.h ; \ - $(INSTALL_DATA) _G_config.h $(tooldir)/include/_G_config.h || exit 1; \ + if [ x$(enable_version_specific_runtime_libs) = xyes ]; then \ + rm -f $(gxx_include_dir)/include/_G_config.h ; \ + $(INSTALL_DATA) _G_config.h $(gxx_include_dir)/include/_G_config.h || exit 1; \ + else \ + rm -f $(tooldir)/include/_G_config.h ; \ + $(INSTALL_DATA) _G_config.h $(tooldir)/include/_G_config.h || exit 1; \ + fi; \ else true; \ fi ; \ cd $(srcdir); \ |