meson/megadriver: stop removing the "master" .so file

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29731>
This commit is contained in:
Eric Engestrom
2024-05-29 12:23:47 +02:00
committed by Marge Bot
parent da05938e65
commit ac5d14c5ea
3 changed files with 1 additions and 4 deletions

View File

@@ -70,8 +70,7 @@ def main():
finally:
os.chdir(ret)
# Remove meson-created master .so and symlinks
os.unlink(master)
# Remove meson-created .so symlinks
name, ext = os.path.splitext(master)
while ext != '.so':
if os.path.lexists(name):