aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-06-29 23:00:10 +0000
committerMåns Rullgård <mans@mansr.com>2006-06-29 23:00:10 +0000
commit8d923001eb51da618d3ed9ef8dfdad74f37cba06 (patch)
tree6b4ac0551d64cc6293bec336b2a189a1f55f8278 /configure
parent62c52121e0c2bbad35ed684a12b4da2fc1a9682a (diff)
downloadffmpeg-8d923001eb51da618d3ed9ef8dfdad74f37cba06.tar.gz
detect availability of -rdynamic and -export-dynamic
Originally committed as revision 5548 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 4 insertions, 5 deletions
diff --git a/configure b/configure
index 0ed1373127..918705ad70 100755
--- a/configure
+++ b/configure
@@ -496,7 +496,6 @@ bktr="yes"
audio_oss="yes"
dv1394="no"
make="gmake"
-FFLDFLAGS="$FFLDFLAGS -export-dynamic"
extralibs="$extralibs -lossaudio"
;;
OpenBSD)
@@ -507,7 +506,6 @@ audio_oss="yes"
dv1394="no"
make="gmake"
LIBOBJFLAGS="\$(PIC)"
-FFLDFLAGS="$FFLDFLAGS -export-dynamic -pthread"
LDCONFIG="ldconfig -m \$(libdir)"
extralibs="$extralibs -lossaudio"
;;
@@ -519,7 +517,6 @@ audio_oss="yes"
dv1394="no"
make="gmake"
CFLAGS="$CFLAGS -pthread"
-FFLDFLAGS="$FFLDFLAGS -export-dynamic -pthread"
;;
GNU/kFreeBSD)
v4l="no"
@@ -528,7 +525,6 @@ bktr="yes"
audio_oss="yes"
dv1394="no"
CFLAGS="$CFLAGS -pthread"
-LDFLAGS="$LDFLAGS -rdynamic"
;;
BSD/OS)
v4l="no"
@@ -574,7 +570,6 @@ cygwin="yes"
EXESUF=".exe"
;;
Linux)
-FFLDFLAGS="$FFLDFLAGS -rdynamic"
;;
IRIX*)
ranlib="echo ignoring ranlib"
@@ -1277,6 +1272,10 @@ if test "$vhook" = "yes" -o "$a52bin" = "yes" -o "$faadbin" = "yes"; then
add_extralibs $ldl
fi
+if enabled vhook; then
+ check_ldflags -rdynamic
+ check_ldflags -export-dynamic
+fi
##########################################
# imlib check