From 34021c4129879e5f979f6736643e1e42a558471b Mon Sep 17 00:00:00 2001 From: Matthias Heil Date: Fri, 15 Oct 2004 10:19:57 +0000 Subject: [PATCH 1/1] Running ranlib after renaming/copying the library. This improves compatibility with some systems. [r4130] --- MakeTargets | 1 + Makefile.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/MakeTargets b/MakeTargets index d3fa20338..e994405d2 100644 --- a/MakeTargets +++ b/MakeTargets @@ -87,6 +87,7 @@ install_libs: subdir_install_libs local_install_libs local_install_libs: ifneq ($(strip $(INSTALL_LIBS)),) $(INSTALL) -m u+rw,a+r $(addprefix $(topdir)/,$(INSTALL_LIBS)) $(LIBDIR) + $(RANLIB) $(addprefix $(LIBDIR)/,$(INSTALL_LIBS)) endif diff --git a/Makefile.in b/Makefile.in index 162c0d7ef..b290c1ae5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -53,8 +53,8 @@ $(XOFILES): subdir_all libfirm.a: $(XOFILES) $(OFILES) $(AR) $(ARFLAGS) $@.new $(XOFILES) $(OFILES) - $(RANLIB) $@.new mv -f $@.new $@ + $(RANLIB) $@ libfirm.so: subdir_all $(XOFILES) $(OFILES) ld -Bshareable -o ./libfirm.so $(XOFILES) -lm -L/usr/public/libxml2/lib -lxml2 -- 2.20.1