From fdbbbb26411640792de3fc93ee45547af482ce82 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Fri, 24 Mar 2017 14:14:06 -0400 Subject: [PATCH] mk-standalone: also copy ld-linux --- mk-standalone | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mk-standalone b/mk-standalone index 1ae9823..fc55b04 100755 --- a/mk-standalone +++ b/mk-standalone @@ -14,6 +14,8 @@ def main(args): os.mkdir(dest) for line in Popen(["ldd", binary], stdout = PIPE).communicate()[0].decode().split("\n"): m = re.search(r'=>\s*(/\S*)', line) + if m is None: + m = re.search(r'(/lib\S+)\s\(', line) if m is not None: lib = m.group(1) os.spawnlp(os.P_WAIT, "cp", "cp", "-L", lib, dest)