def METHOD_NAME(self):
    apply_conandata_patches(self)
    if not self.options.shared:
        replace_in_file(self, os.path.join(self.source_folder, "sigc++config.h.cmake"),
                              "define SIGC_DLL 1", "undef SIGC_DLL")