2022-05-17 02:41:53 +08:00
|
|
|
llvm/cmake/modules/FindFFI.cmake | 2 +-
|
2021-06-30 07:08:28 +08:00
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2022-05-17 02:41:53 +08:00
|
|
|
diff --git a/llvm/cmake/modules/FindFFI.cmake b/llvm/cmake/modules/FindFFI.cmake
|
|
|
|
index b0d859af8959..a756d0c8fdb0 100644
|
|
|
|
--- a/llvm/cmake/modules/FindFFI.cmake
|
|
|
|
+++ b/llvm/cmake/modules/FindFFI.cmake
|
|
|
|
@@ -34,7 +34,7 @@ else()
|
2021-06-30 07:08:28 +08:00
|
|
|
endif()
|
2022-05-17 02:41:53 +08:00
|
|
|
endif()
|
2021-06-30 07:08:28 +08:00
|
|
|
|
2022-05-17 02:41:53 +08:00
|
|
|
-find_library(FFI_LIBRARIES ffi PATHS ${FFI_LIBRARY_DIR})
|
|
|
|
+find_library(FFI_LIBRARIES ffi libffi PATHS ${FFI_LIBRARY_DIR})
|
|
|
|
|
|
|
|
if(FFI_LIBRARIES)
|
|
|
|
include(CMakePushCheckState)
|