diff --git a/recipes/pangolin/all/conanfile.py b/recipes/pangolin/all/conanfile.py index 3e6afb988f7fc..b9e96a3162412 100644 --- a/recipes/pangolin/all/conanfile.py +++ b/recipes/pangolin/all/conanfile.py @@ -187,6 +187,10 @@ def validate(self): f"{self.ref} requires C++{self._min_cppstd}, which your compiler does not support." ) + if self.settings.os == "Windows" and self.options.shared: + # Fails with linker errors for internal symbols + raise ConanInvalidConfiguration("Shared library is not supported on Windows") + if self.options.with_ffmpeg: ffmpeg_opts = self.dependencies["ffmpeg"].options if not ffmpeg_opts.avdevice or not ffmpeg_opts.avformat: