[Ffmpeg-cvslog] r6001 - in trunk: common.mak configure

diego subversion
Tue Aug 15 21:30:39 CEST 2006


Author: diego
Date: Tue Aug 15 21:30:38 2006
New Revision: 6001

Modified:
   trunk/common.mak
   trunk/configure

Log:
Mac OS X requires running ranlib on static libraries after installation.


Modified: trunk/common.mak
==============================================================================
--- trunk/common.mak	(original)
+++ trunk/common.mak	Tue Aug 15 21:30:38 2006
@@ -69,6 +69,7 @@
 install-lib-static: $(LIB)
 	install -d "$(libdir)"
 	install -m 644 $(LIB) "$(libdir)"
+	$(LIB_INSTALL_EXTRA_CMD)
 
 install-headers:
 	install -d "$(incdir)"

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Tue Aug 15 21:30:38 2006
@@ -580,6 +580,7 @@
 SLIBNAME_WITH_FULLVERSION='$(SLIBPREF)$(NAME).$(LIBVERSION)$(SLIBSUF)'
 SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME).$(LIBMAJOR)$(SLIBSUF)'
 FFSERVERLDFLAGS=-Wl,-bind_at_load
+LIB_INSTALL_EXTRA_CMD="\$(RANLIB) \"\$(libdir)/\$(LIB)\""
 ;;
 MINGW32*)
 # Note: the rest of the mingw32 config is done afterwards as mingw32
@@ -1762,6 +1763,7 @@
   echo "SLIBNAME_WITH_MAJOR=${SLIBNAME_WITH_MAJOR}" >> config.mak
   echo "SLIB_EXTRA_CMD=${SLIB_EXTRA_CMD}" >> config.mak
 fi
+echo "LIB_INSTALL_EXTRA_CMD=${LIB_INSTALL_EXTRA_CMD}" >> config.mak
 echo "EXTRALIBS=$extralibs" >> config.mak
 
 # If you do not want to use encoders, disable them.




More information about the ffmpeg-cvslog mailing list