diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-01-14 03:39:02 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-01-14 03:39:02 +0000 |
commit | f3b60109163dd2850795b9ab6ab54de7fd971ee6 (patch) | |
tree | 0236ebcb2fe017e0260a2279f3333b12983c5719 /configure | |
parent | e03c822afdc04a885daab3dd0c8a6f3e37824039 (diff) | |
download | ffmpeg-f3b60109163dd2850795b9ab6ab54de7fd971ee6.tar.gz |
Create symbolic links for all library sonames and clean up Makefiles.
based on a patch by Luca Barbato < lu_zero -- at -- gentoo -- dot -- org >
Originally committed as revision 4851 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -219,7 +219,7 @@ vhook="default" dlfcn="no" dlopen="no" mpegaudio_hp="yes" -SHFLAGS='-shared -Wl,-soname,$@.$(LIBVERSION)' +SHFLAGS='-shared -Wl,-soname,$@.$(LIBMAJOR)' netserver="no" need_inet_aton="no" ffserver="yes" @@ -232,6 +232,8 @@ LIBPREF="lib" LIBSUF=".a" SLIBPREF="lib" SLIBSUF=".so" +SLIBNAME_WITH_VERSION='$(SLIBPREF)$(NAME)$(SLIBSUF).$(LIBVERSION)' +SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME)$(SLIBSUF).$(LIBMAJOR)' EXESUF="" BUILDSUF="" amr_nb="no" @@ -343,6 +345,8 @@ strip="strip -x" installstrip="" LDFLAGS="-Wl,-dynamic,-search_paths_first" SLIBSUF=".dylib" +SLIBNAME_WITH_FULLVERSION='$(SLIBPREF)$(NAME).$(LIBVERSION)$(SLIBSUF)' +SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME).$(LIBMAJOR)$(SLIBSUF)' FFSLDFLAGS=-Wl,-bind_at_load ;; MINGW32*) @@ -1504,6 +1508,8 @@ if test "$lshared" = "yes" ; then echo "LAVFVERSION=$lavf_version" >> config.mak echo "LAVUMAJOR=${lavu_version%%.*}" >> config.mak echo "LAVUVERSION=$lavu_version" >> config.mak + echo "SLIBNAME_WITH_VERSION=${SLIBNAME_WITH_VERSION}" >> config.mak + echo "SLIBNAME_WITH_MAJOR=${SLIBNAME_WITH_MAJOR}" >> config.mak fi echo "EXTRALIBS=$extralibs" >> config.mak version=`grep '#define FFMPEG_VERSION ' "$source_path/libavcodec/avcodec.h" | |