diff --git a/build-relocatable-install.py b/build-relocatable-install.py
index 2e2a0e0e4263d962ad0e48bb5defd584365fa596..c2ef136f9ce156741ea72e79999847779308e1bd 100755
--- a/build-relocatable-install.py
+++ b/build-relocatable-install.py
@@ -165,7 +165,7 @@ def main():
         for so in glob.glob(
             os.path.join('_build', arch, 'lib', '*.so.*'),
         ):
-            install(so, os.path.join(DESTDIR, 'lib', 'ma'))
+            install(so, os.path.join(DESTDIR, 'lib', ma))
 
     source_to_download = set()      # type: typing.Set[str]