]>
git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pkgs/build-essentials/quality-agent/quality-agent.d/050-libs-soname
3 . $
(dirname ${0})/qa-include
5 DESC
="Every shared object has to provide the SONAME entry."
12 for file in $
(find_elf_files
--prefix=${BUILDROOT} ${LIBARY_PATHS}); do
13 if ! grep -q "\.so" <<<${file}; then
17 if ! file_is_shared_object
${file}; then
21 if ! file_has_interpreter
${file}; then
25 soname
=$
(file_get_soname
${file})
26 if [ -z "${soname}" ]; then
27 log_error
" File lacks soname attribute: ${file}"