aboutsummaryrefslogtreecommitdiff
path: root/Build/LinuxMkLibs.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-12-31 15:08:26 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-12-31 15:08:26 -0400
commit30214619fcbf6bf2946be0440c8f541c8faed3c3 (patch)
treec7a73daedb4bc5b7d6b80aff96950d15bb52c704 /Build/LinuxMkLibs.hs
parentc01f6855acfeaac1e449da0f308303b2ea6eb9db (diff)
include libgcc_s in case not pulled in by ldd
libc can demand-load libgcc_s in some situations, it seems
Diffstat (limited to 'Build/LinuxMkLibs.hs')
-rw-r--r--Build/LinuxMkLibs.hs2
1 files changed, 1 insertions, 1 deletions
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'"]