# Dependency handling regression in 5.8 when linking third-party static libraries 

**URL:** <https://forums.unrealengine.com/t/dependency-handling-regression-in-5-8-when-linking-third-party-static-libraries/2747115>\
**Category:** Issues and Bug Reporting (Unreal Engine)\
**Tags:** unreal-engine, bug-report\
**Created:** [August 28, 2026, 3:47pm UTC](https://forums.unrealengine.com/t/dependency-handling-regression-in-5-8-when-linking-third-party-static-libraries/2747115 "2026-08-28T15:47:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MalcolmTyrrell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MalcolmTyrrell](https://forums.unrealengine.com/u/MalcolmTyrrell)\
**Post date:** [August 28, 2026, 3:47pm UTC](https://forums.unrealengine.com/t/dependency-handling-regression-in-5-8-when-linking-third-party-static-libraries/2747115/1 "2026-08-28T15:47:27Z")

</div>

### Summary

In 5.8 changes to third-party static libraries do not always trigger a rebuild of libraries that depend on them.

This seems to be due to commit 24dccd7470bb (changelist 45674266): `ActionGraph.IsImportLibraryDependency(LinkedAction, FileItem)` always returns `true` whenever the prerequisite is a library file and the link action has _any_ prerequisite action producing an import library. Because that is the normal case for every module in an editor build, UBT skips the timestamp check for **all** `.lib` prerequisites. A third-party static library that is rebuilt out-of-band never triggers a relink.

### What Type of Bug are you experiencing?

Foundation (C++ Tools, Profiling, & Pipeline)

### Steps to Reproduce

1. Build UnrealEditor
2. Touch Engine/Source/ThirdParty/zlib/1.3/lib/Win64/Release/zlibstatic.lib
3. Build again

### Expected Result

The second build should relink a number of modules including UnrealEditor-Core.dll.

### Observed Result

The build doesn’t do any significant work.

### Affects Versions

5.8

### Platform(s)

Android  
iOS  
Linux  
Mac  
OpenXR  
visionOS  
Windows
