mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 23:19:16 +08:00
17 lines
601 B
Diff
17 lines
601 B
Diff
|
llvm/cmake/config-ix.cmake | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake
|
||
|
index 818fafbce148..66fc9f509ac7 100644
|
||
|
--- a/llvm/cmake/config-ix.cmake
|
||
|
+++ b/llvm/cmake/config-ix.cmake
|
||
|
@@ -335,7 +335,7 @@ if( LLVM_ENABLE_FFI )
|
||
|
message(FATAL_ERROR "libffi includes are not found.")
|
||
|
endif()
|
||
|
|
||
|
- find_library(FFI_LIBRARY_PATH ffi PATHS ${FFI_LIBRARY_DIR})
|
||
|
+ find_library(FFI_LIBRARY_PATH NAMES ffi libffi PATHS ${FFI_LIBRARY_DIR})
|
||
|
if( NOT FFI_LIBRARY_PATH )
|
||
|
message(FATAL_ERROR "libffi is not found.")
|
||
|
endif()
|