summaryrefslogtreecommitdiff
path: root/Build/LinuxMkLibs.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-02-07 17:20:29 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-02-07 17:20:29 -0400
commit134d43f1692252da5ebcd8ebc179e5f04991c933 (patch)
tree4c02db4a6dc3905183dfdd511a7083c5bcc0e80a /Build/LinuxMkLibs.hs
parenta45c6f8173910364b69d77c1765cd7afd1431028 (diff)
deal with multiarch
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 74641d811..be605c5a5 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 libgcc1 | egrep '\\.so|gconv'"]
+ ["-c", "dpkg -L libc6:$(dpkg --print-architecture) libgcc1:$(dpkg --print-architecture) | egrep '\\.so|gconv'"]