]>
git.ipfire.org Git - people/stevee/pakfire.git/blob - tools/quality-agent.d/050-libs-x86_64
3 . $
(dirname ${0})/qa-include
5 DESC
="Shared libs in /lib or /usr/lib are not allowed."
10 # Do nothing on other platforms.
11 [ "$(uname -m)" = "x86_64" ] ||
return ${failed}
14 for file in $
(find ${BUILDROOT}/lib
${BUILDROOT}/usr
/lib
-maxdepth 1 -name "*.so*" 2>/dev
/null
); do
15 file_is_elf
${file} >/dev
/null
2>&1 ||
continue
17 log_error
" Unallowed location for library: ${file}"