summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-12-08 22:53:40 +0000
committerMike Frysinger <vapier@gentoo.org>2006-12-08 22:53:40 +0000
commit808694e8a330e32741b7781467610d8cec99ae6e (patch)
treea2114e7c67f1f88f5df4687d6ab7122892e68283 /Makefile.in
parentcba2c53724a6ed35f32775ec38906268c1bbd340 (diff)
Richard Sandiford writes: add support for init/fini arrays in shared flat libraries
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 8eaa7cffb..4d98c1f8f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -246,6 +246,15 @@ ifeq ($(DOPIC),y)
fi
endif
endif
+ifeq ($(HAVE_SHARED_FLAT),y)
+ for file in lib/lib*.gdb; do \
+ if test -f $$file; then \
+ $(INSTALL) -m 755 $$file $(PREFIX)$(DEVEL_PREFIX)lib; \
+ $(INSTALL) -m 755 `echo $$file | sed 's/\.gdb$$//'` \
+ $(PREFIX)$(DEVEL_PREFIX)lib; \
+ fi; \
+ done
+endif
# Installs run-time libraries
install_runtime: