Commit b89b65de authored by mru's avatar mru

configure: be more liberal with nm output

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21324 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 63cf7ad7
...@@ -2223,7 +2223,7 @@ enabled pic && enable_pic ...@@ -2223,7 +2223,7 @@ enabled pic && enable_pic
check_cc <<EOF || die "Symbol mangling check failed." check_cc <<EOF || die "Symbol mangling check failed."
int ff_extern; int ff_extern;
EOF EOF
sym=$($nm -P -g $TMPO | grep ff_extern) sym=$($nm -g $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^[:blank:]]*ff_extern/)) }')
extern_prefix=${sym%%ff_extern*} extern_prefix=${sym%%ff_extern*}
check_cc <<EOF && enable inline_asm check_cc <<EOF && enable inline_asm
......
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