From 8c1959b087e93c57cc0d75b48ec764ec86e4dc6b Mon Sep 17 00:00:00 2001 From: xavisolesoft Date: Tue, 30 Jan 2024 10:39:00 +0100 Subject: [PATCH] Build Ubuntu: Apply correct find pattern for zlib in CarlaTools --- .../Plugins/CarlaTools/Source/CarlaTools/CarlaTools.Build.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Unreal/CarlaUE4/Plugins/CarlaTools/Source/CarlaTools/CarlaTools.Build.cs b/Unreal/CarlaUE4/Plugins/CarlaTools/Source/CarlaTools/CarlaTools.Build.cs index c91992688..cdfd0a9b7 100644 --- a/Unreal/CarlaUE4/Plugins/CarlaTools/Source/CarlaTools/CarlaTools.Build.cs +++ b/Unreal/CarlaUE4/Plugins/CarlaTools/Source/CarlaTools/CarlaTools.Build.cs @@ -219,7 +219,7 @@ public class CarlaTools : var RPCLibCandidates = FindLibraries("rpclib", "rpc"); var XercesCCandidates = FindLibraries("xercesc", "xerces-c*"); var PROJCandidates = FindLibraries("proj", "proj"); - var ZlibCandidates = FindLibraries("zlib", "zlibstatic*"); + var ZlibCandidates = FindLibraries("zlib", IsWindows ? "zlibstatic*" : "z"); //TODO: Fix this, note that here we have libz.a and libz.so, need to disambiguate var AdditionalLibraries = new List {