From 04860fe3e910b240e0558821a0b5064179e5ee74 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 31 Dec 2013 15:08:26 -0400 Subject: [PATCH] include libgcc_s in case not pulled in by ldd libc can demand-load libgcc_s in some situations, it seems --- Build/LinuxMkLibs.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/LinuxMkLibs.hs b/Build/LinuxMkLibs.hs index 6c89216bf9..74641d811a 100644 --- a/Build/LinuxMkLibs.hs +++ b/Build/LinuxMkLibs.hs @@ -141,4 +141,4 @@ parseLdd = catMaybes . map (getlib . dropWhile isSpace) . lines - XXX Debian specific. -} glibcLibs :: IO [FilePath] glibcLibs = lines <$> readProcess "sh" - ["-c", "dpkg -L libc6 | egrep '\\.so|gconv'"] + ["-c", "dpkg -L libc6 libgcc1 | egrep '\\.so|gconv'"]