fix extern prefix detection on mingw
authorMåns Rullgård <mans@mansr.com>
Tue, 18 Mar 2008 09:36:29 +0000 (09:36 +0000)
committerMåns Rullgård <mans@mansr.com>
Tue, 18 Mar 2008 09:36:29 +0000 (09:36 +0000)
Originally committed as revision 12485 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 16860d2..ac46aeb 100755 (executable)
--- a/configure
+++ b/configure
@@ -1494,7 +1494,7 @@ fi
 check_cc <<EOF || die "Symbol mangling check failed."
 int ff_extern;
 EOF
-sym=$(nm -P $TMPO)
+sym=$(nm -P -g $TMPO)
 extern_prefix=${sym%%ff_extern*}
 
 check_asm inline_asm '""'