[Openais] [patch 09/13] Static libraries become out-of-date on Darwin once they are copied or moved Run ranlib on the installed version to make sure they are up-to-date

Steven Dake sdake at redhat.com
Sun Sep 9 00:01:15 PDT 2007


merged

regards
-steve
On Fri, 2007-08-24 at 11:53 +0200, beekhof at gmail.com wrote:
> plain text document attachment (bug-ranlib-darwin.patch)
> Requires: Makefile-loops.patch
> ---
>  Makefile |    3 +++
>  1 files changed, 3 insertions(+)
> 
> Index: Makefile
> ===================================================================
> --- Makefile.orig	2007-08-23 20:27:38.000000000 +0200
> +++ Makefile	2007-08-23 20:28:19.000000000 +0200
> @@ -100,6 +100,9 @@ install: all
>  	    install -m 755 lib/lib$$aLib.so.2.* $(DESTDIR)$(LIBDIR);	\
>  	    if [ "xNO" = "x$(STATICLIBS)" ]; then			\
>  	        install -m 755 lib/lib$$aLib.a $(DESTDIR)$(LIBDIR);	\
> +		if [ ${OPENAIS_COMPAT} = "DARWIN" ]; then		\
> +		    ranlib $(DESTDIR)$(LIBDIR)/lib$$aLib.a;		\
> +	        fi							\
>  	    fi								\
>  	done
>  
> 



More information about the Openais mailing list