[FFmpeg-cvslog] configure: arm: Don't try to enable pic for shared libraries on win32
Martin Storsjö
git at videolan.org
Tue Jun 11 08:32:46 CEST 2013
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Tue May 28 15:08:57 2013 +0300| [2aa3325454545b63cd63e3d5884f8558790d51df] | committer: Martin Storsjö
configure: arm: Don't try to enable pic for shared libraries on win32
The object file format doesn't support PIC loads in ARM assembly,
there are no relocation types in PE/COFF that correspond to
BFD_RELOC_32_PCREL (R_ARM_REL32 in ELF).
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2aa3325454545b63cd63e3d5884f8558790d51df
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index be96eb1..9644f03 100755
--- a/configure
+++ b/configure
@@ -3426,7 +3426,7 @@ EOF
check_inline_asm asm_mod_q '"add r0, %Q0, %R0" :: "r"((long long)0)'
check_inline_asm asm_mod_y '"vmul.i32 d0, d0, %y0" :: "x"(0)'
- enabled_all armv6t2 shared !pic && enable_weak_pic
+ [ $target_os != win32 ] && enabled_all armv6t2 shared !pic && enable_weak_pic
elif enabled mips; then
More information about the ffmpeg-cvslog
mailing list