aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@jakemsr.com>2005-05-22 23:58:58 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-05-22 23:58:58 +0000
commitf39e56a84bd614238986e67fe47a62fa4de279d8 (patch)
tree1e7dddd9c798e8263d5b5352566cfeb1ad256c81 /configure
parentbb4c2140c2333d71aaea15aa7aa759f3505a6139 (diff)
downloadffmpeg-f39e56a84bd614238986e67fe47a62fa4de279d8.tar.gz
ldconfig as config.mak variable patch by (Jacob Meuser: jakemsr, jakemsr com)
Originally committed as revision 4303 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 9a32150f88..b33b9e6cb1 100755
--- a/configure
+++ b/configure
@@ -197,6 +197,7 @@ ffserver="yes"
ffplay="yes"
LDFLAGS=-Wl,--warn-common
FFSLDFLAGS=-Wl,-E
+LDCONFIG="ldconfig"
LIBPREF="lib"
LIBSUF=".a"
SLIBPREF="lib"
@@ -273,6 +274,7 @@ dv1394="no"
make="gmake"
CFLAGS="$CFLAGS \$(PIC)"
LDFLAGS="$LDFLAGS -export-dynamic -pthread"
+LDCONFIG="ldconfig -m \$(libdir)"
extralibs="$extralibs -lossaudio"
;;
FreeBSD)
@@ -1205,6 +1207,7 @@ fi
echo "OPTFLAGS=$CFLAGS" >> config.mak
echo "SHCFLAGS=$SHCFLAGS">>config.mak
echo "LDFLAGS=$LDFLAGS" >> config.mak
+echo "LDCONFIG=$LDCONFIG" >> config.mak
echo "FFSLDFLAGS=$FFSLDFLAGS" >> config.mak
echo "SHFLAGS=$SHFLAGS" >> config.mak
echo "BUILDSUF=$BUILDSUF" >> config.mak