summaryrefslogtreecommitdiff
path: root/gnu/packages/maths.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-11-25 17:00:58 +0100
committerLudovic Courtès <ludo@gnu.org>2021-11-26 13:51:00 +0100
commitd19aff9339384bd970bec6932fcc86b674fb3783 (patch)
tree1373081a46553d650057addf49072e9fbe81a10c /gnu/packages/maths.scm
parent38745deaec4a1a33c0e4de3c7caf1f1ae6894bd8 (diff)
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'.
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r--gnu/packages/maths.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index a6fe2b5f49..83f31c1396 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -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