diff options
author | Joey Hess <joey@kitenet.net> | 2014-05-02 15:32:49 -0300 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-05-02 15:32:49 -0300 |
commit | cff2db0f2424dd47a60ce21c0ca42017bb1b709d (patch) | |
tree | b8de4e471e4f77f235a2d4b4fc52b6620c59be4d /Utility/LinuxMkLibs.hs | |
parent | f11dd1f77292d6a5eee3da9415a99e75c5da4e78 (diff) | |
parent | 10a3d627dcb23035bc68c9912e927288be493d8e (diff) |
Merge branch 'master' into bootstrap3
Conflicts:
debian/changelog
Diffstat (limited to 'Utility/LinuxMkLibs.hs')
-rw-r--r-- | Utility/LinuxMkLibs.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/LinuxMkLibs.hs b/Utility/LinuxMkLibs.hs index 76e6266dd..f4744fcb2 100644 --- a/Utility/LinuxMkLibs.hs +++ b/Utility/LinuxMkLibs.hs @@ -49,7 +49,7 @@ inTop top f = top ++ f - link to. Note that some of the libraries may not exist - (eg, linux-vdso.so) -} parseLdd :: String -> [FilePath] -parseLdd = catMaybes . map (getlib . dropWhile isSpace) . lines +parseLdd = mapMaybe (getlib . dropWhile isSpace) . lines where getlib l = headMaybe . words =<< lastMaybe (split " => " l) |