support old libgcc1 name

Used in Debian jessie, which the i386ancient autobuilder uses.
This commit is contained in:
Joey Hess 2023-01-26 15:37:21 -04:00
parent 5df95a5879
commit a00513754b
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -72,7 +72,7 @@ glibcLibs = do
ls <- lines <$> readProcess "sh"
["-c", "dpkg -L libc6:$(dpkg --print-architecture) | egrep '\\.so' | grep -v /gconv/ | grep -v ld.so.conf | grep -v sotruss-lib"]
ls2 <- lines <$> readProcess "sh"
["-c", "dpkg -L libgcc-s1:$(dpkg --print-architecture) | egrep '\\.so'"]
["-c", "(dpkg -L libgcc-s1:$(dpkg --print-architecture 2>/dev/null) || dpkg -L libgcc1:$(dpkg --print-architecture)) | egrep '\\.so'"]
return (ls++ls2)
{- Get gblibc's gconv libs, which are handled specially.. -}