def METHOD_NAME(self):
    if self.settings.os in ("Windows", "Macos"):
        raise ConanInvalidConfiguration("Platform is currently not supported")
    if self.options.shared:
        del self.options.fPIC
    del self.settings.compiler.libcxx
    del self.settings.compiler.cppstd