[flang-commits] [flang] [Flang][Utils] Fix BUILD_SHARED_LIBS build (PR #157828)
Michael Kruse via flang-commits
flang-commits at lists.llvm.org
Wed Sep 10 03:25:46 PDT 2025
https://github.com/Meinersbur created https://github.com/llvm/llvm-project/pull/157828
Required for `BUILD_SHARED_LIBS=ON` builds with optimizations enabled for the new FortranUtils library.
Also see #150027 #155422
>From 41abaab415d5efbd54bcb784590e16939fb29c5e Mon Sep 17 00:00:00 2001
From: Michael Kruse <llvm-project at meinersbur.de>
Date: Wed, 10 Sep 2025 12:20:53 +0200
Subject: [PATCH] [Flang] Add missing link dependencies
---
flang/lib/Utils/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/flang/lib/Utils/CMakeLists.txt b/flang/lib/Utils/CMakeLists.txt
index 4d5000abedba2..96c037561a8a5 100644
--- a/flang/lib/Utils/CMakeLists.txt
+++ b/flang/lib/Utils/CMakeLists.txt
@@ -17,6 +17,8 @@ add_flang_library(FortranUtils
LINK_LIBS
FIRDialect
FIRBuilder
+ FortranEvaluate
+ FortranSupport
HLFIRDialect
MLIR_LIBS
More information about the flang-commits
mailing list