diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-08-15 19:30:38 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-08-15 19:30:38 +0000 |
commit | d7e27559b186ddf8a3a870e032afc454be30b96f (patch) | |
tree | 02b6d0803e212fb1b4467d9ab44f3d9249f7f9a9 | |
parent | 696e1bb36e46e304d92a92cfd2a782499b5ff3f1 (diff) | |
download | ffmpeg-d7e27559b186ddf8a3a870e032afc454be30b96f.tar.gz |
Mac OS X requires running ranlib on static libraries after installation.
Originally committed as revision 6001 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | common.mak | 1 | ||||
-rwxr-xr-x | configure | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/common.mak b/common.mak index 40a655cdd4..0961c1740f 100644 --- a/common.mak +++ b/common.mak @@ -69,6 +69,7 @@ install-lib-shared: $(SLIBNAME) install-lib-static: $(LIB) install -d "$(libdir)" install -m 644 $(LIB) "$(libdir)" + $(LIB_INSTALL_EXTRA_CMD) install-headers: install -d "$(incdir)" @@ -580,6 +580,7 @@ SLIBSUF=".dylib" 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 @@ if test "$lshared" = "yes" ; then 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. |