OSDN Git Service

fix another MTR feature title extraction issue
[handbrake-jp/handbrake-jp-git.git] / contrib / ffmpeg / P02-darwin-pic.patch
1 diff -Naur ffmpeg-r20602.orig/configure ffmpeg-r20602/configure
2 --- ffmpeg-r20602.orig/configure        2009-11-24 15:17:19.000000000 -0800
3 +++ ffmpeg-r20602/configure     2009-11-27 12:02:03.659012744 -0800
4 @@ -1913,7 +1913,7 @@
5  
6  enable $arch $subarch
7  enabled spic && enable pic
8 -check_cpp_condition stdlib.h "defined(__PIC__) || defined(__pic__) || defined(PIC)" && enable pic
9 +#check_cpp_condition stdlib.h "defined(__PIC__) || defined(__pic__) || defined(PIC)" && enable pic
10  
11  # OS specific
12  case $target_os in
13 @@ -1982,6 +1982,7 @@
14          FFSERVERLDFLAGS=-Wl,-bind_at_load
15          objformat="macho"
16          enabled x86_64 && objformat="macho64"
17 +        enabled x86_64 && enable pic
18          enabled_any pic shared ||
19              { check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
20          ;;