Fix linker optimisation in linux standalone tarballs
Was only symlinking when there is a usr/ directory, but with usr/ merge, there are none. Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
parent
9563830529
commit
32cb2bd3fa
3 changed files with 16 additions and 1 deletions
|
@ -85,7 +85,9 @@ consolidateUsrLib top libdirs = go [] libdirs
|
|||
renameFile src dst
|
||||
symlinkHwCapDirs top d
|
||||
go c rest
|
||||
_ -> go (x:c) rest
|
||||
_ -> do
|
||||
symlinkHwCapDirs top x
|
||||
go (x:c) rest
|
||||
|
||||
{- The linker looks for optimised versions of libraries depending on the
|
||||
- hardware capabilities. That causes a lot of extra work searching for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue