meson: remove meson-created megadrivers symlinks
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110356
Fixes: aa7afe324c
"meson: strip rpath from megadrivers"
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:

committed by
Eric Engestrom

parent
9e3740c47f
commit
c77acc3ceb
@@ -69,7 +69,14 @@ def main():
|
|||||||
name, ext = os.path.splitext(name)
|
name, ext = os.path.splitext(name)
|
||||||
finally:
|
finally:
|
||||||
os.chdir(ret)
|
os.chdir(ret)
|
||||||
|
|
||||||
|
# Remove meson-created master .so and symlinks
|
||||||
os.unlink(master)
|
os.unlink(master)
|
||||||
|
name, ext = os.path.splitext(master)
|
||||||
|
while ext != '.so':
|
||||||
|
if os.path.lexists(name):
|
||||||
|
os.unlink(name)
|
||||||
|
name, ext = os.path.splitext(name)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Reference in New Issue
Block a user