cyphesis/scripts/check_libraries

17 lines
357 B
Text
Raw Permalink Normal View History

STATIC_LIBS=`grep "^ \+/.*\.a .$" server/Makefile.am | sed "s/ .$//"`
for lib in $STATIC_LIBS; do
#echo LIB $lib
dylib=`dirname $lib`/`basename $lib .a`.so
if [ -f $lib ] && [ -f $dylib ]; then
dylib=`readlink -f $dylib`
2009-03-26 17:50:05 +00:00
if [ $lib -ot $dylib ]; then
echo $lib is out of date.
ls -l $lib $dylib
true
fi
else
2009-03-27 00:51:36 +00:00
echo Missing: $lib
fi
done