gnu: ceres-solver: Install library to lib/ instead of lib64/.

* gnu/packages/maths.scm (ceres)[arguments]: In 'set-library-directory'
phase, modify the top-level 'CMakeLists.txt'.
This commit is contained in:
Ludovic Courtès 2021-11-25 17:00:58 +01:00
parent 38745deaec
commit d19aff9339
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 3 deletions

View File

@ -2373,10 +2373,9 @@ satisfiability checking (SAT).")
(add-before 'configure 'set-library-directory
(lambda _
;; Install libraries to lib/, not lib64/.
(substitute* "internal/ceres/CMakeLists.txt"
(substitute* "CMakeLists.txt"
(("set\\(LIB_SUFFIX \"64\"\\)")
"set(LIB_SUFFIX \"\")"))
#t)))))
"set(LIB_SUFFIX \"\")")))))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(propagated-inputs