work around ldd crash on arm64 autobuilder
This does mean it has to run ldd once per executable, which is actually quite a number of times, so will be a bit slower. Sponsored-by: Luke Shumaker on Patreon
This commit is contained in:
parent
a00513754b
commit
d079fb0578
2 changed files with 20 additions and 2 deletions
|
@ -31,7 +31,7 @@ mklibs :: FilePath -> a -> IO Bool
|
|||
mklibs top _installedbins = do
|
||||
fs <- dirContentsRecursive top
|
||||
exes <- filterM checkExe fs
|
||||
libs <- parseLdd <$> readProcess "ldd" exes
|
||||
libs <- runLdd exes
|
||||
|
||||
glibclibs <- glibcLibs
|
||||
let libs' = nub $ libs ++ glibclibs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue