Skip to content
Snippets Groups Projects
Commit b4a929a1 authored by Sylvain Henry's avatar Sylvain Henry Committed by Marge Bot
Browse files

Hadrian: fix libffi tarball parsing

Fix parsing of "libffi-3.3.tar.gz".

NB: switch to a newer libffi isn't done in this patch
parent aaa8f00f
No related branches found
No related tags found
No related merge requests found
......@@ -190,7 +190,7 @@ libffiRules = do
removeDirectory libffiPath
tarball <- needLibfffiArchive libffiPath
-- Go from 'libffi-3.99999+git20171002+77e130c.tar.gz' to 'libffi-3.99999'
let libname = takeWhile (/= '+') $ takeFileName tarball
let libname = takeWhile (/= '+') $ fromJust $ stripExtension "tar.gz" $ takeFileName tarball
-- Move extracted directory to libffiPath.
root <- buildRoot
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment