Skip to content

Commit

Permalink
pangolin: Windows shared builds not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Apr 27, 2024
1 parent 7b383a8 commit 07b54b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/pangolin/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 07b54b2

Please sign in to comment.