Skip to content
Snippets Groups Projects
Commit 5f400907 authored by Dylan Baker's avatar Dylan Baker Committed by Juan A. Suárez
Browse files

meson: fix megadriver symlinking

Which should be relative instead of absolute.

Fixes: f7f1b30f
       ("meson: extend install_megadrivers script to handle symmlinking")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105567


Signed-off-by: default avatarDylan Baker <dylan.c.baker@intel.com>
Reviewed-and-Tested-by: default avatarEric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
(cherry picked from commit 6ac87c17)
parent c9b6960f
No related branches found
No related tags found
Loading
...@@ -58,7 +58,7 @@ def main(): ...@@ -58,7 +58,7 @@ def main():
while ext != '.so': while ext != '.so':
if os.path.exists(name): if os.path.exists(name):
os.unlink(name) os.unlink(name)
os.symlink(driver, name) os.symlink(each, name)
name, ext = os.path.splitext(name) name, ext = os.path.splitext(name)
finally: finally:
os.chdir(ret) os.chdir(ret)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment