diff --git a/recipes/ffmpeg/all/conanfile.py b/recipes/ffmpeg/all/conanfile.py index 3867ed6aa0b52..f0de3dbc26e49 100644 --- a/recipes/ffmpeg/all/conanfile.py +++ b/recipes/ffmpeg/all/conanfile.py @@ -1,4 +1,4 @@ -from conan import ConanFile, conan_version +from conan import ConanFile from conan.errors import ConanInvalidConfiguration from conan.tools.apple import is_apple_os from conan.tools.build import cross_building @@ -198,6 +198,7 @@ class FFMpegConan(ConanFile): "disable_filters": None, "enable_filters": None, } + short_paths = True @property def _settings_build(self): @@ -354,10 +355,6 @@ def validate(self): raise ConanInvalidConfiguration("FFmpeg '{}' option requires '{}' option to be enabled".format( dependency, "' or '".join(features))) - if Version(self.version) >= "6.1" and conan_version.major == 1 and is_msvc(self) and self.options.shared: - # Linking fails with "Argument list too long" for some reason on Conan v1 - raise ConanInvalidConfiguration("MSVC shared build is not supported for Conan v1") - if Version(self.version) == "7.0.1" and self.settings.build_type == "Debug": # FIXME: FFMpeg fails to build in Debug mode with the following error: # ld: libavcodec/libavcodec.a(vvcdsp_init.o): in function `ff_vvc_put_pixels2_8_sse4':