From 23b95ddeea1c1b61f2a87bf8db68956c19e5ccfe Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 6 Dec 2010 12:49:43 +0000 Subject: [PATCH] Fix n.3 of hack_libtool utility to workaround problems on some Linux configurations --- salome_adm/unix/config_files/hack_libtool.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salome_adm/unix/config_files/hack_libtool.m4 b/salome_adm/unix/config_files/hack_libtool.m4 index c6c3c2d52..dd08c63ce 100644 --- a/salome_adm/unix/config_files/hack_libtool.m4 +++ b/salome_adm/unix/config_files/hack_libtool.m4 @@ -37,7 +37,7 @@ cmd_end="" for param in "\$[@]" do case \${param} in - -L* ) where=\$(echo \${param} | cut -b3-) ; if test "\${where}" != "" ; then where=\$(cd \${where}; pwd) ; if test "\${where}" = "/usr/lib" || test "\${where}" = "/usr/lib64" ; then cmd_end="\${cmd_end} \${param}" ; else cmd="\${cmd} \${param}" ; fi ; fi ;; + -L* ) where=\$(echo \${param} | cut -b3-) ; if test "\${where}" != "" && test -d \${where} ; then where=\$(cd \${where}; pwd) ; if test "\${where}" = "/usr/lib" || test "\${where}" = "/usr/lib64" ; then cmd_end="\${cmd_end} \${param}" ; else cmd="\${cmd} \${param}" ; fi ; fi ;; * ) cmd="\${cmd} \${param}" ;; esac done -- 2.39.2