History

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

Originally committed as revision 6001 to svn://svn.ffmpeg.org/ffmpeg/trunk

Diego Biurrun committed 20 years ago

Commit d7e27551 parent 696e1bb2 files · +3 −0Browse files

Unified · Split

2 files
  1. common.mak +1 −0
  2. configure +2 −0
common.mak+1−0
@@ -69,6 +69,7 @@ install-lib-shared: $(SLIBNAME) · 68 unmodified lines
6969 install-lib-static: $(LIB)
7070 install -d "$(libdir)"
7171 install -m 644 $(LIB) "$(libdir)"
72+ $(LIB_INSTALL_EXTRA_CMD)
7273
7374 install-headers:
7475 install -d "$(incdir)"
configure+2−0
@@ -580,6 +580,7 @@ SLIBSUF=".dylib" · 579 unmodified lines
580580 SLIBNAME_WITH_FULLVERSION='$(SLIBPREF)$(NAME).$(LIBVERSION)$(SLIBSUF)'
581581 SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME).$(LIBMAJOR)$(SLIBSUF)'
582582 FFSERVERLDFLAGS=-Wl,-bind_at_load
583+LIB_INSTALL_EXTRA_CMD="\$(RANLIB) \"\$(libdir)/\$(LIB)\""
583584 ;;
584585 MINGW32*)
585586 # Note: the rest of the mingw32 config is done afterwards as mingw32
@@ -1762,6 +1763,7 @@ if test "$lshared" = "yes" ; then · 1176 unmodified lines
17621763 echo "SLIBNAME_WITH_MAJOR=${SLIBNAME_WITH_MAJOR}" >> config.mak
17631764 echo "SLIB_EXTRA_CMD=${SLIB_EXTRA_CMD}" >> config.mak
17641765 fi
1766+echo "LIB_INSTALL_EXTRA_CMD=${LIB_INSTALL_EXTRA_CMD}" >> config.mak
17651767 echo "EXTRALIBS=$extralibs" >> config.mak
17661768
17671769 # If you do not want to use encoders, disable them.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t