Martin Storsjö <[email protected]> writes:

> On Sat, 13 Oct 2012, Måns Rullgård wrote:
>
>> Martin Storsjö <[email protected]> writes:
>>
>>> @@ -2930,6 +2944,9 @@ build the shared libraries as well. To only build the 
>>> shared libraries specify
>>>  EOF
>>>      exit 1;
>>>  fi
>>> +if enabled_all msvc static shared; then
>>> +    die "Cannot build shared and static libraries at the same time with 
>>> MSVC."
>>> +fi
>>
>> Another idea is to simply disable static if shared is enabled.  That way
>> users can simply configure --enable-shared and save some pointless typing.
>
> Sounds sane, changed locally into:
>
> +if enabled_all msvc shared; then
> +    # Cannot build shared and static libraries at the same time with MSVC.
> +    disable static
> +fi

That can actually go into the win32 OS section.  That is where the
restriction comes from after all.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to