Commit 9609113f authored by Alp Mestanogullari's avatar Alp Mestanogullari Committed by Andrey Mokhov
Browse files

Fix a logic error that kept us from building/linking object files for many ways (#687)

parent 97f93453
......@@ -92,7 +92,7 @@ cObjects :: Context -> Action [FilePath]
cObjects context = do
srcs <- interpretInContext context (getPackageData PD.cSrcs)
objs <- mapM (objectPath context) srcs
return $ if way context == threaded
return $ if Threaded `wayUnit` way context
then objs
else filter ((`notElem` ["Evac_thr", "Scav_thr"]) . takeBaseName) objs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment