summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-01-14 03:39:02 +0000
committerDiego Biurrun <diego@biurrun.de>2006-01-14 03:39:02 +0000
commitf3b60109163dd2850795b9ab6ab54de7fd971ee6 (patch)
tree0236ebcb2fe017e0260a2279f3333b12983c5719 /configure
parente03c822afdc04a885daab3dd0c8a6f3e37824039 (diff)
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-xconfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index e983d2311d..ef914f735e 100755
--- a/configure
+++ b/configure
@@ -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" |