1 This converts megadriver installation to use symlinks so that we do
2 not have to deal with skipping the strip stage for some files, as
3 a result simplifying our template greatly.
5 --- a/bin/install_megadrivers.py
6 +++ b/bin/install_megadrivers.py
7 @@ -56,7 +56,7 @@ def main():
8 if os.path.lexists(abs_driver):
10 print('installing {} to {}'.format(args.megadriver, abs_driver))
11 - os.link(master, abs_driver)
12 + os.symlink(os.path.basename(master), abs_driver)
16 @@ -71,8 +71,7 @@ def main():
20 - # Remove meson-created master .so and symlinks
22 + # Remove meson-created symlinks
23 name, ext = os.path.splitext(master)
25 if os.path.lexists(name):