Skip to content

Commit

Permalink
[SWDEV-324968] - Fixes libffi cmake issue on centos/sles.
Browse files Browse the repository at this point in the history
Recently, a change was introduced where the cmake
searches for libffi.a to fix versioning issues
with 18.04/20.04. There is no libffi static archive
on centos/sles so we need to add ffi as a fallback
in order to find libff.so.

Change-Id: Ia684e48fc19de4d9769e83d5fbfc26ece9e6db88
  • Loading branch information
estewart08 authored and Subodh Gupta committed Mar 17, 2022
1 parent fb84ea9 commit 5cba46f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ if (LIBOMPTARGET_DEP_LIBFFI_INCLUDE_DIR)
LIBOMPTARGET_DEP_LIBFFI_LIBRARIES
NAMES
libffi.a
ffi
HINTS
${LIBOMPTARGET_SEARCH_LIBFFI_LIBDIR}
${LIBOMPTARGET_SEARCH_LIBFFI_LIBRARY_DIRS}
Expand Down

0 comments on commit 5cba46f

Please sign in to comment.