def METHOD_NAME(self):
    apply_conandata_patches(self)
    current_version = Version(self.version)
    if current_version >= "0.7.2" and current_version < "0.7.4":
        # Remove static linking when cross-building, see:
        # https://github.com/conan-io/conan-center-index/pull/16997#issuecomment-1508243262
        # https://github.com/foonathan/memory/issues/162
        replace_in_file(self, os.path.join(self.source_folder, "tool/CMakeLists.txt"), "if (CMAKE_CROSSCOMPILING)", "if (FALSE)")