|
@@ -24,7 +24,8 @@ def main():
|
|
|
parser.add_argument("--rename", action="store_true", default=False,
|
|
|
help="Rename the output as input so we can replace it")
|
|
|
parser.add_argument("--input", help="Path to libc++ library", required=True)
|
|
|
- parser.add_argument("--output", help="Path to libc++ linker script", required=True)
|
|
|
+ parser.add_argument("--output", help="Path to libc++ linker script",
|
|
|
+ required=True)
|
|
|
parser.add_argument("libraries", nargs="+",
|
|
|
help="List of libraries libc++ depends on")
|
|
|
args = parser.parse_args()
|
|
@@ -37,9 +38,9 @@ def main():
|
|
|
|
|
|
# Generate the linker script contents.
|
|
|
contents = "INPUT(%s)" % ' '.join([libcxx] + public_libs)
|
|
|
- print("GENERATING SCRIPT: '%s' as file %s" % (contents, args.output))
|
|
|
|
|
|
if args.dryrun:
|
|
|
+ print("GENERATING SCRIPT: '%s' as file %s" % (contents, args.output))
|
|
|
return 0
|
|
|
|
|
|
# Remove the existing libc++ symlink if it exists.
|