aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-22 01:56:10 +0000
committerGravatar pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-22 01:56:10 +0000
commit67c533a44af4392811796f142e274a6a87be56be (patch)
treedbd2f5905b9ac00f9c6368f81aaedd2bd8d779ec /configure
parent22e51475e230c19247d5ba7175f4948494c392b0 (diff)
-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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 4 insertions, 9 deletions
diff --git a/configure b/configure
index e43b21b7fb..f383f43d13 100755
--- a/configure
+++ b/configure
@@ -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'