about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--lib/Module/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Module/CMakeLists.txt b/lib/Module/CMakeLists.txt
index 22fd3c07..c927fa1b 100644
--- a/lib/Module/CMakeLists.txt
+++ b/lib/Module/CMakeLists.txt
@@ -33,3 +33,11 @@ if ("${LLVM_PACKAGE_VERSION}" VERSION_EQUAL "3.3" OR
 endif()
 klee_get_llvm_libs(LLVM_LIBS ${LLVM_COMPONENTS})
 target_link_libraries(kleeModule PUBLIC ${LLVM_LIBS})
+target_link_libraries(kleeModule PRIVATE
+  kleeSupport
+  # FIXME:
+  # There is a circular dependency between `kleeModule` and `kleeCore`.
+  # `ModuleUtil.cpp` uses `klee::SpecialFunctionHandler` (in `kleeCore`) but
+  # `kleeCore` uses `kleeModule`.
+  kleeCore
+)