From 30214619fcbf6bf2946be0440c8f541c8faed3c3 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 31 Dec 2013 15:08:26 -0400 Subject: 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(-) (limited to 'Build') diff --git a/Build/LinuxMkLibs.hs b/Build/LinuxMkLibs.hs index 6c89216bf..74641d811 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'"] -- cgit v1.2.3