On Sat, Feb 07, 2015 at 04:31:48PM +0100, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch allows compilation with icc on OSX.
> 
> Please comment, Carl Eugen

>  configure |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 54159746713608d35cac3531e37dfaf386fbcf46  patchosxpic.diff
> diff --git a/configure b/configure
> index 0c209c5..c019cde 100755
> --- a/configure
> +++ b/configure
> @@ -4068,7 +4068,7 @@ case $target_os in
>          
> SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME).$(LIBVERSION)$(SLIBSUF)'
>          SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME).$(LIBMAJOR)$(SLIBSUF)'
>          objformat="macho"
> -        enabled x86_64 && objformat="macho64"
> +        enabled x86_64 && objformat="macho64" && enable pic
>          enabled_any pic shared ||

can you explain what fails without this ?

this:
check_cpp_condition stdlib.h "defined(__PIC__) || defined(__pic__) || 
defined(PIC)" && enable_weak pic

should set pic i think

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to