diff options
author | Michael Kostylev <michael.kostylev@gmail.com> | 2008-03-18 12:08:37 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2008-03-18 12:08:37 +0000 |
commit | 503d5b585ffd71c0fd82eba671f74dea645fcecd (patch) | |
tree | 01be8d64accdb02c555f74b9274074c67852ae28 /configure | |
parent | 2081f3c619a365da56a3192d1691662602e08468 (diff) | |
download | ffmpeg-503d5b585ffd71c0fd82eba671f74dea645fcecd.tar.gz |
fix extern prefix detection when cross compiling.
Patch by Michael Kostylev: mik niipt ru
Originally committed as revision 12486 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -888,6 +888,7 @@ bindir='$(PREFIX)/bin' # toolchain cc="gcc" ar="ar" +nm="nm" ranlib="ranlib" make="make" strip="strip" @@ -1315,6 +1316,7 @@ LDFLAGS="$FFLDFLAGS $LDFLAGS" test -n "$cross_prefix" && enable cross_compile cc="${cross_prefix}${cc}" ar="${cross_prefix}${ar}" +nm="${cross_prefix}${nm}" ranlib="${cross_prefix}${ranlib}" strip="${cross_prefix}${strip}" @@ -1494,7 +1496,7 @@ fi check_cc <<EOF || die "Symbol mangling check failed." int ff_extern; EOF -sym=$(nm -P -g $TMPO) +sym=$($nm -P -g $TMPO) extern_prefix=${sym%%ff_extern*} check_asm inline_asm '""' |