From ac00ac40ed241fb591be1286d3284523f4dd5dba Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Thu, 25 Oct 2001 20:52:10 +0000 Subject: [PATCH] added ranlib after installation for static library git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 56203155fa..2f563c6067 100644 --- a/Makefile.in +++ b/Makefile.in @@ -411,9 +411,10 @@ preinstall: $(build_libdir)/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLCHAIN_NAM $(INSTALL_SCRIPT) $(top_builddir)/wx@TOOLCHAIN_NAME@-config $(bindir)/wx@TOOLCHAIN_NAME@-config cd $(bindir) && rm -f wx-config && $(LN_S) wx@TOOLCHAIN_NAME@-config wx-config $(INSTALL_PROGRAM) $(build_libdir)/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@ + @if test "@WX_LIBRARY_NAME_STATIC@" = "@WX_TARGET_LIBRARY@"; then $(RANLIB) $(libdir)/@WX_TARGET_LIBRARY@; fi @# this installs the import library for a MSW DLL @# remember: for wxMSW DLL WX_LIBRARY_NAME_STATIC is the - @# import livraru name + @# import library name @if test "@TOOLKIT_DIR@" = "msw" -a "@WX_LIBRARY_NAME_STATIC@" != "@WX_TARGET_LIBRARY@"; then $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_LIBRARY_NAME_STATIC@ $(libdir)/@WX_LIBRARY_NAME_STATIC@; fi $(INSTALL) -d $(libdir)/wx