summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-04-04 10:23:02 -0700
committerJuan A. Suarez Romero <jasuarez@igalia.com>2018-04-12 21:49:31 +0200
commit5f4009079cd31cfeac5fbb2b30b2a3197797437f (patch)
treeada3f21f2ef3490037e9179bf37e773f380bcca1
parentc9b6960f34bbfff21d9c66cc7278a99af8b4cb44 (diff)
meson: fix megadriver symlinking
Which should be relative instead of absolute. Fixes: f7f1b30f81e842db6057591470ce3cb6d4fb2795 ("meson: extend install_megadrivers script to handle symmlinking") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105567 Signed-off-by: Dylan Baker <dylan.c.baker@intel.com> Reviewed-and-Tested-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> (cherry picked from commit 6ac87c17695ebf300a81ecc61e5703c6492b6e5c)
-rwxr-xr-xbin/install_megadrivers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/install_megadrivers.py b/bin/install_megadrivers.py
index 86bfa359188..7931a544bd2 100755
--- a/bin/install_megadrivers.py
+++ b/bin/install_megadrivers.py
@@ -58,7 +58,7 @@ def main():
while ext != '.so':
if os.path.exists(name):
os.unlink(name)
- os.symlink(driver, name)
+ os.symlink(each, name)
name, ext = os.path.splitext(name)
finally:
os.chdir(ret)