Sort out static archives since ldd complains about them.
This commit is contained in:
parent
5c4973f9c8
commit
8af94ba2f7
@ -506,9 +506,9 @@ extract_deps()
|
|||||||
|
|
||||||
# Grab the filelist and classify files
|
# Grab the filelist and classify files
|
||||||
local filelist=$($AWK '{ print $3 }' $metadir/prototype.$secname | $GREP '.')
|
local filelist=$($AWK '{ print $3 }' $metadir/prototype.$secname | $GREP '.')
|
||||||
local exelist=$(echo $filelist | $XARGS $FILE | $EGREP -v ":.* (commands|script)" | $GREP ":.*executable" | $CUT -d: -f1)
|
local exelist=$(echo $filelist | $XARGS $FILE | $EGREP -v ":.* (commands|script)" | $GREP -v "ar archive" | $GREP ":.*executable" | $CUT -d: -f1)
|
||||||
local scriptlist=$(echo $filelist | $XARGS $FILE | $EGREP ":.* (commands|script)" | $CUT -d: -f1)
|
local scriptlist=$(echo $filelist | $XARGS $FILE | $EGREP ":.* (commands|script)" | $CUT -d: -f1)
|
||||||
local liblist=$(echo $filelist | $XARGS $FILE | $GREP ":.*dynamic lib" | $CUT -d: -f1)
|
local liblist=$(echo $filelist | $XARGS $FILE | $GREP -v "ar archive" | $GREP ":.*dynamic lib" | $CUT -d: -f1)
|
||||||
|
|
||||||
# Compute dependencies for executables
|
# Compute dependencies for executables
|
||||||
if [ -n "$exelist" ]; then
|
if [ -n "$exelist" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user