-rdynamic is only needed on bsd's (well... it was the case in C1)

neither linux nor qnx need it and it doesn't help for static compilation
  too...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3062 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pl 2001-11-22 01:56:10 +00:00
parent 22e51475e2
commit 67c533a44a
1 changed files with 4 additions and 9 deletions

13
configure vendored
View File

@ -1093,15 +1093,11 @@ fi
echores "$_dl"
echocheck "dynamic linking"
#echocheck "dynamic linking"
_ld_dl_dynamic=''
bsd && _ld_dl_dynamic='-rdynamic'
# FIXME !! make this dynamic detection to work
# also gcc flags are different, but ld flags aren't (-Bdynamic/-Bstatic/-Bsymbolic)
_ld_dl_dynamic=''
if qnx ; then
_ld_dl_dynamic=''
else
_ld_dl_dynamic='-rdynamic'
fi
#cat > $TMPC << EOF
#int main(void) { return 0; }
#EOF
@ -1112,7 +1108,7 @@ fi
#elif cc_check ; then
# _ld_dl_dynamic=''
#fi
echores "using $_ld_dl_dynamic"
#echores "using $_ld_dl_dynamic"
echocheck "pthread"
@ -2363,7 +2359,6 @@ else
fi
_ld_arch="${_ld_arch} $_ld_pthread $_ld_dl $_ld_dl_dynamic"
#bsd && _ld_arch="-rdynamic $_ld_arch"
bsdos && _ld_arch="$_ld_arch -ldvd"
_def_debug='#undef MP_DEBUG'