diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-11-25 17:00:58 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-11-26 13:51:00 +0100 |
commit | d19aff9339384bd970bec6932fcc86b674fb3783 (patch) | |
tree | 1373081a46553d650057addf49072e9fbe81a10c | |
parent | 38745deaec4a1a33c0e4de3c7caf1f1ae6894bd8 (diff) | |
download | guix-d19aff9339384bd970bec6932fcc86b674fb3783.tar.gz guix-d19aff9339384bd970bec6932fcc86b674fb3783.zip |
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'.
-rw-r--r-- | gnu/packages/maths.scm | 5 |
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 |