Skip to content

Commit cf6a752

Browse files
authored
Validate windows shared out
1 parent 9282dae commit cf6a752

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

recipes/pcapplusplus/cmake/conanfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ def configure(self):
5050
self.options.rm_safe("fPIC")
5151

5252
def validate(self):
53+
if Version(self.version) == "24.09" and self.options.shared and self.settings.os == "Windows":
54+
# https://github.com/seladb/PcapPlusPlus/issues/1396
55+
raise ConanInvalidConfiguration(f"{self.ref} does not support Windows shared builds for now")
5356
if self.settings.compiler.cppstd:
5457
# popen()/pclose() usage
5558
check_min_cppstd(self, self._min_cppstd, gnu_extensions=not is_msvc(self))

0 commit comments

Comments
 (0)