diff options
author | Joey Hess <joey@kitenet.net> | 2014-02-07 17:20:29 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-02-07 17:20:29 -0400 |
commit | 134d43f1692252da5ebcd8ebc179e5f04991c933 (patch) | |
tree | 4c02db4a6dc3905183dfdd511a7083c5bcc0e80a /Build/LinuxMkLibs.hs | |
parent | a45c6f8173910364b69d77c1765cd7afd1431028 (diff) |
deal with multiarch
Diffstat (limited to 'Build/LinuxMkLibs.hs')
-rw-r--r-- | Build/LinuxMkLibs.hs | 2 |
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'"] |