#!/usr/bin/env python3
"""Converts a .exports file to a format consumable by linkers.
An .exports file is a file with one exported symbol per line.
This script converts a .exports file into a format that linkers
can understand:
- It prepends a `_` to each line for use with -exported_symbols_list for Darwin
- It writes a .def file for use with /DEF: for Windows
- It writes a linker script for use with --version-script elsewhere
"""
=
=
=
=
== :
=
assert ==
= +