Commit 8d923001 authored by Måns Rullgård's avatar Måns Rullgård

detect availability of -rdynamic and -export-dynamic

Originally committed as revision 5548 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 62c52121
...@@ -496,7 +496,6 @@ bktr="yes" ...@@ -496,7 +496,6 @@ bktr="yes"
audio_oss="yes" audio_oss="yes"
dv1394="no" dv1394="no"
make="gmake" make="gmake"
FFLDFLAGS="$FFLDFLAGS -export-dynamic"
extralibs="$extralibs -lossaudio" extralibs="$extralibs -lossaudio"
;; ;;
OpenBSD) OpenBSD)
...@@ -507,7 +506,6 @@ audio_oss="yes" ...@@ -507,7 +506,6 @@ audio_oss="yes"
dv1394="no" dv1394="no"
make="gmake" make="gmake"
LIBOBJFLAGS="\$(PIC)" LIBOBJFLAGS="\$(PIC)"
FFLDFLAGS="$FFLDFLAGS -export-dynamic -pthread"
LDCONFIG="ldconfig -m \$(libdir)" LDCONFIG="ldconfig -m \$(libdir)"
extralibs="$extralibs -lossaudio" extralibs="$extralibs -lossaudio"
;; ;;
...@@ -519,7 +517,6 @@ audio_oss="yes" ...@@ -519,7 +517,6 @@ audio_oss="yes"
dv1394="no" dv1394="no"
make="gmake" make="gmake"
CFLAGS="$CFLAGS -pthread" CFLAGS="$CFLAGS -pthread"
FFLDFLAGS="$FFLDFLAGS -export-dynamic -pthread"
;; ;;
GNU/kFreeBSD) GNU/kFreeBSD)
v4l="no" v4l="no"
...@@ -528,7 +525,6 @@ bktr="yes" ...@@ -528,7 +525,6 @@ bktr="yes"
audio_oss="yes" audio_oss="yes"
dv1394="no" dv1394="no"
CFLAGS="$CFLAGS -pthread" CFLAGS="$CFLAGS -pthread"
LDFLAGS="$LDFLAGS -rdynamic"
;; ;;
BSD/OS) BSD/OS)
v4l="no" v4l="no"
...@@ -574,7 +570,6 @@ cygwin="yes" ...@@ -574,7 +570,6 @@ cygwin="yes"
EXESUF=".exe" EXESUF=".exe"
;; ;;
Linux) Linux)
FFLDFLAGS="$FFLDFLAGS -rdynamic"
;; ;;
IRIX*) IRIX*)
ranlib="echo ignoring ranlib" ranlib="echo ignoring ranlib"
...@@ -1277,6 +1272,10 @@ if test "$vhook" = "yes" -o "$a52bin" = "yes" -o "$faadbin" = "yes"; then ...@@ -1277,6 +1272,10 @@ if test "$vhook" = "yes" -o "$a52bin" = "yes" -o "$faadbin" = "yes"; then
add_extralibs $ldl add_extralibs $ldl
fi fi
if enabled vhook; then
check_ldflags -rdynamic
check_ldflags -export-dynamic
fi
########################################## ##########################################
# imlib check # imlib check
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment