Add ranlib just in case

This commit is contained in:
Joey Yakimowich-Payne 2020-05-07 18:35:15 -06:00
commit 4bc788884c

View file

@ -52,6 +52,9 @@ static:
let res = execAction(&"ar ru {staticFile} {buildDir}/*.o") let res = execAction(&"ar ru {staticFile} {buildDir}/*.o")
if res.ret != 0: if res.ret != 0:
raise newException(CatchableError, &"Error: could not build static lib {staticFile}") raise newException(CatchableError, &"Error: could not build static lib {staticFile}")
let ranres = execAction(&"ranlib {staticFile}")
if ranres.ret != 0:
raise newException(CatchableError, &"Error: could not build static lib {staticFile}")
# cDebug() # cDebug()
# cDisableCaching() # cDisableCaching()