def METHOD_NAME(self):
    # On macOS, the system libtool must be used
    # So, we ensure that this is the case by...
    if sys.platform == "darwin":
        # Possible output formats:
        #
        # /usr/bin/libtool
        process_pipe = subprocess.Popen(["which", "libtool"], stdout=subprocess.PIPE)
        result_which = process_pipe.communicate()[0].strip()
        # Possible output formats:
        #
        # /usr/bin/libtool
        # libtool: /usr/bin/libtool
        # libtool: /usr/bin/libtool /Applications/Xcode.app/.../share/man/man1/libtool.1
        process_pipe = subprocess.Popen(["whereis", "libtool"], stdout=subprocess.PIPE)
        result_whereis_list = process_pipe.communicate()[0].strip().split()
        if len(result_whereis_list) == 1:
            result_whereis = result_whereis_list[0]
        else:
            result_whereis = result_whereis_list[1]
        assert result_which == result_whereis, (
            "On macOS the system libtool must be used. Please (temporarily) remove "
            "\n or its link to libtool from PATH"
        )
    args = [
        "--prefix={0}".format(self.prefix),
        # Note: npm is updated more regularly than node.js, so we build
        # the package instead of using the bundled version
        "--without-npm",
    ]
    if "+debug" in self.spec:
        args.append("--debug")
    if "+openssl" in self.spec:
        args.extend(
            [
                "--shared-openssl",
                "--shared-openssl-includes={0}".format(self.spec["openssl"].prefix.include),
                "--shared-openssl-libpath={0}".format(self.spec["openssl"].prefix.lib),
            ]
        )
    if "+zlib" in self.spec:
        args.extend(
            [
                "--shared-zlib",
                "--shared-zlib-includes={0}".format(self.spec["zlib-api"].prefix.include),
                "--shared-zlib-libpath={0}".format(self.spec["zlib-api"].prefix.lib),
            ]
        )
    if "+icu4c" in self.spec:
        args.append("--with-intl=full-icu")
    return args