diff options
Diffstat (limited to 'Mk/Scripts/qa.sh')
-rw-r--r-- | Mk/Scripts/qa.sh | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh index aca3df2e69de..ffcb3c42df7f 100644 --- a/Mk/Scripts/qa.sh +++ b/Mk/Scripts/qa.sh @@ -255,16 +255,19 @@ libperl() { ;; *0) has_some_libperl_so=1 - case "${found}" in - *1?) - warn "${f} does not have a rpath to ${LIBPERL}, not respecting lddlflags?" - ;; - esac - case "${found}" in - 1??) - warn "${f} does not have a runpath to ${LIBPERL}, not respecting lddlflags?" - ;; - esac + # Older Perl did not USE_LDCONFIG. + if [ ! -f ${LOCALBASE}/${LDCONFIG_DIR}/perl5 ]; then + case "${found}" in + *1?) + warn "${f} does not have a rpath to ${LIBPERL}, not respecting lddlflags?" + ;; + esac + case "${found}" in + 1??) + warn "${f} does not have a runpath to ${LIBPERL}, not respecting lddlflags?" + ;; + esac + fi ;; esac # Use heredoc to avoid losing rc from find|while subshell |