def METHOD_NAME(self):
    if self.options.shared:
        self.options.rm_safe("fPIC")
    self.settings.rm_safe("compiler.cppstd")
    self.settings.rm_safe("compiler.libcxx")
    if self.options.shared and self.options.with_glib:
        self.options["glib"].shared = True