def METHOD_NAME(self):
    apply_conandata_patches(self)
    if self._needs_jwasm:
        save(self, self._jwasm_wrapper, textwrap.dedent("""\
            #!/usr/bin/env python
            import os
            import sys
            import subprocess
            args = ["jwasm"]
            # Convert '/' options to '-'
            for arg in sys.argv[1:]:
                if arg in ("-fpic", "-fPIC", "-Wall", "-fvisibility=hidden"):
                    continue
                if os.path.exists(arg):
                    args.append(arg)
                elif arg[:1] == "/":
                    args.append("-"+arg[1:])
                else:
                    args.append(arg)
            print("args:", args)
            subprocess.run(args, check=True)
        """))
        os.chmod(self._jwasm_wrapper, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR | stat.S_IRGRP | stat.S_IWGRP | stat.S_IXGRP | stat.S_IROTH | stat.S_IXOTH)