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.