You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2015/10/13 22:49:07 UTC

celix git commit: CELIX-237: Update in FindFFI.cmake for lib name

Repository: celix
Updated Branches:
  refs/heads/develop 655974478 -> 13b82745e


CELIX-237: Update in FindFFI.cmake for lib name


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/13b82745
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/13b82745
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/13b82745

Branch: refs/heads/develop
Commit: 13b82745e00377c478c93ecfb5c9c6d6172456e9
Parents: 6559744
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Tue Oct 13 22:48:16 2015 +0200
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Tue Oct 13 22:48:16 2015 +0200

----------------------------------------------------------------------
 cmake/FindFFI.cmake | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/13b82745/cmake/FindFFI.cmake
----------------------------------------------------------------------
diff --git a/cmake/FindFFI.cmake b/cmake/FindFFI.cmake
index 15680b7..0493633 100644
--- a/cmake/FindFFI.cmake
+++ b/cmake/FindFFI.cmake
@@ -32,9 +32,8 @@ endif ()
 
 mark_as_advanced(GNUTLS_INCLUDE_DIR GNUTLS_LIBRARY)
 
-find_library(FFI_LIBRARY NAMES ffi
+find_library(FFI_LIBRARY NAMES ffi libffi
         PATHS $ENV{FFI_DIR} ${FFI_DIR} /usr/local /opt/local
-        PATH_SUFFIXES lib
         HINTS ${PC_LIBFFI_LIBDIR} ${PC_LIBFFI_LIBRARY_DIRS}
 )