def configure(self):
    if self.options.shared:
        del self.options.fPIC
    del self.settings.compiler.libcxx
    del self.settings.compiler.cppstd
    if ((self.settings.os == 'Macos') and (not self.options.iconv)):
        raise ConanInvalidConfiguration("On macOS iconv can't be disabled")
def configure(self):
    if self.options.shared:
        del self.options.fPIC
    del self.settings.compiler.libcxx
    del self.settings.compiler.cppstd
    if ((self.settings.os == 'Macos') and (not self.options.iconv)):
        raise ConanInvalidConfiguration("On macOS iconv can't be disabled")