From b5c9e1e4355bae15c8193c0535e3c54a084cd4fd Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 27 May 2013 19:22:56 +0200 Subject: [PATCH] lib/functions.in: fixed split_debug_files() to skip processing of static libary archives --- lib/functions.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/functions.in b/lib/functions.in index 05ac8e4..e9e8b9c 100644 --- a/lib/functions.in +++ b/lib/functions.in @@ -977,9 +977,9 @@ split_debug_files() { $objdumpcmd -s -j .gnu_debuglink $root/$x &>/dev/null && has_gnu_debuglink=true if $has_gnu_debuglink; then continue; fi - # skip the temporary objcopy command + # files we do not process case $( basename $root/$x ) in - $objcopycmd) continue ;; + $objcopycmd|*.a) continue ;; esac # create destination directory for the debug info file if needed