]> git.saurik.com Git - wxWidgets.git/commitdiff
added ranlib after installation for static library
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Thu, 25 Oct 2001 20:52:10 +0000 (20:52 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Thu, 25 Oct 2001 20:52:10 +0000 (20:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

Makefile.in

index 56203155fab8f12358379af06b6b17d8883470ba..2f563c6067c85768cc0d4d2171d8d9b2f0518ae6 100644 (file)
@@ -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