From 0b3b10a791c7b62a23f195e49c7233c6eef415b1 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Fri, 23 Aug 2024 10:27:26 +0200 Subject: [PATCH] Fixing copy command for structure and symlinks. --- src/loaih/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loaih/build.py b/src/loaih/build.py index 274cd16..8af17cf 100644 --- a/src/loaih/build.py +++ b/src/loaih/build.py @@ -595,7 +595,7 @@ class Build(): for libdir in libdirs: fulllibdir = os.path.abspath(os.path.join(temporary, libdir)) subprocess.run(shlex.split( - r"find " + fulllibdir + r" -type f -iname \*.so\* -exec cp {} " + os.path.dirname(main_executable) + r"/ \;" + f"cp -Ra {fullibdir}/. {os.path.dirname(main_executable)}/" ), cwd=temporary, check=True) # Find the name of the binary called in the desktop file.