[ITA] libexif-0.6.22-1

Achim Gratz Stromeko@nexgo.de
Thu Dec 31 08:49:33 GMT 2020


Achim Gratz writes:
> # Work around a libpopt-devel-1.16-2 packaging issue that causes the error:
> #   libtool: error: cannot find the library '/usr/lib/libintl.la' or unhandled argument '/usr/lib/libintl.la'
> # See http://www.cygwin.com/ml/cygwin-apps/2017-07/msg00005.html
> - cmd: if [%CONFIG%]==[cygwin] (
>     C:\%CONFIG%\bin\bash -e -l -c "rm /usr/lib/libpopt.la" )
>
> …and indeed that makes things work.  :-)

This is the reason it works on the CI:

curl -fsSL https://gist.githubusercontent.com/jon-turney/0338af595313f598bfab15a0ac0df847/raw/bd0eeca6be899e7846aa988fbcf15e4e12f5f842/zp_libtool_cleanlafiles.sh -o %CYGWIN_ROOT%\etc\postinstall\zp_libtool_cleanlafiles.sh

--8<---------------cut here---------------start------------->8---
rmla=()
for la in $(find /usr/lib/ -maxdepth 1 -name '*.la')
do
        # modules in /usr/lib (e.g. aRts, guile) are generally libltdl-based
        if grep -q '^shouldnotlink=yes$' $la
        then
                continue
        fi
        case ${la##*/} in
        # ltdl.m4 requires this to be present
        libltdl.la) continue ;;
        # gnucash relies on .la loading due to the 'cyg' prefix
        libgnc-*.la) continue ;;
        esac

        rmla+=($la)
done

rm -f ${rmla[*]}
--8<---------------cut here---------------end--------------->8---



Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds


More information about the Cygwin-apps mailing list