X-Git-Url: https://git.tld-linux.org/?p=packages%2Frpm.git;a=blobdiff_plain;f=rpm-libtool-deps.patch;h=443d1fde91580080c006bed530f24f6575ee1c19;hp=4dc62f4e7c64f29e57e65c144a33566aaf1ca66a;hb=a4316b5afc30b9f3e8e667bcd44e4feccd020080;hpb=685372ccad422be5593dabe2ed2d89f19037e7ca diff --git a/rpm-libtool-deps.patch b/rpm-libtool-deps.patch index 4dc62f4..443d1fd 100644 --- a/rpm-libtool-deps.patch +++ b/rpm-libtool-deps.patch @@ -15,7 +15,7 @@ do case "$possible" in *.la) -- if grep -iq '^# Generated by ltmain.sh' "$possible" 2> /dev/null ; then +- if grep -Eiq '^# Generated by (libtool|ltmain.sh)' "$possible" 2> /dev/null ; then + if file -L "$possible" | grep -iq 'libtool library file' 2> /dev/null ; then possible="`echo ${possible} | sed -e s,${RPM_BUILD_ROOT}/,/,`" echo "libtool($possible)"