[Bug target/30572] [4.3 Regression] target libraries links against /libgcc_s.1.dylib instead of $(prefix)/lib/libgcc_s.1.dylib
ek dot kato at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Nov 29 09:08:00 GMT 2007
------- Comment #13 from ek dot kato at gmail dot com 2007-11-29 09:08 -------
Oops, I noticed the diff sent yesterday was broken. Here is the correct one
for the workaround.
Index: libgcc/Makefile.in
===================================================================
--- libgcc/Makefile.in (revision 130508)
+++ libgcc/Makefile.in (working copy)
@@ -100,8 +100,17 @@
# in-tree libraries, and DejaGNU) know about the layout
# of the build tree, for now.
$(MAKE) install DESTDIR=$(gcc_objdir) \
- slibdir= libsubdir= MULTIOSDIR=$(MULTIDIR)
+ slibdir=$(slibdir) libsubdir= MULTIOSDIR=$(MULTIDIR)
+ objdir="$(gcc_objdir)/$(slibdir)"; \
+ if test -d $$objdir; then \
+ for file in $$objdir/libgcc_s*; do \
+ if test -f $$file -o -L $$file; then \
+ mv -f $$file $(gcc_objdir)/; \
+ fi; \
+ done; \
+ fi
+
.PHONY: all-multi
all-multi:
# If this is the top-level multilib, build all the other
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30572
More information about the Gcc-bugs
mailing list