File: nfs-ganesha-2.4.1-cmake-modules-FindCephFS.cmake.patch

package info (click to toggle)
nfs-ganesha 2.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,044 kB
  • sloc: ansic: 144,377; cpp: 6,985; perl: 4,985; python: 2,766; sh: 2,604; lex: 606; yacc: 411; makefile: 67; awk: 22; lisp: 20
file content (20 lines) | stat: -rw-r--r-- 651 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/src/cmake/modules/FindCephFS.cmake
+++ b/src/cmake/modules/FindCephFS.cmake
@@ -29,7 +29,7 @@ if(CEPH_PREFIX)
   find_path(CEPHFS_LIBRARY_DIR
     NAMES libcephfs.so
     PATHS ${CEPH_PREFIX}
-    PATH_SUFFIXES lib lib64
+    PATH_SUFFIXES lib/${CMAKE_LIBRARY_ARCHITECTURE} lib lib64
     NO_DEFAULT_PATH
     DOC "The CephFS libraries")
 endif(CEPH_PREFIX)
@@ -46,7 +46,7 @@ if (NOT CEPHFS_LIBRARY_DIR)
   find_path(CEPHFS_LIBRARY_DIR
     NAMES libcephfs.so
     PATHS ${CEPH_PREFIX}
-    PATH_SUFFIXES lib lib64
+    PATH_SUFFIXES lib/${CMAKE_LIBRARY_ARCHITECTURE} lib lib64
     DOC "The CephFS libraries")
 endif (NOT CEPHFS_LIBRARY_DIR)