assume @RPATH libs are present
Previous change caused them to be skipped. Probably when @RPATH is included in the path, it's a path to a file that actually exists. Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
parent
7e2f5edd68
commit
77048906a4
1 changed files with 8 additions and 6 deletions
|
@ -106,7 +106,9 @@ otool appbase installedbins replacement_libs libmap = do
|
||||||
-- _inflateValidate symbol. So, avoid bundling libz unless
|
-- _inflateValidate symbol. So, avoid bundling libz unless
|
||||||
-- this incompatability is resolved.
|
-- this incompatability is resolved.
|
||||||
&& not ("libz." `isInfixOf` s)
|
&& not ("libz." `isInfixOf` s)
|
||||||
lib_present s = ifM (isJust <$> catchMaybeIO (getSymbolicLinkStatus s))
|
lib_present s
|
||||||
|
| "@rpath" `isInfixOf` s = return True
|
||||||
|
| otherwise = ifM (isJust <$> catchMaybeIO (getSymbolicLinkStatus s))
|
||||||
( return True
|
( return True
|
||||||
, do
|
, do
|
||||||
hPutStrLn stderr $ "note: skipping library that is not present on disk: " ++ s
|
hPutStrLn stderr $ "note: skipping library that is not present on disk: " ++ s
|
||||||
|
|
Loading…
Reference in a new issue