From: vsr Date: Mon, 6 Dec 2010 12:49:43 +0000 (+0000) Subject: Fix n.3 of hack_libtool utility to workaround problems on some Linux configurations X-Git-Tag: V6_2_0a1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=23b95ddeea1c1b61f2a87bf8db68956c19e5ccfe;p=modules%2Fkernel.git Fix n.3 of hack_libtool utility to workaround problems on some Linux configurations --- 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