From d19aff9339384bd970bec6932fcc86b674fb3783 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 25 Nov 2021 17:00:58 +0100 Subject: 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'. --- gnu/packages/maths.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gnu/packages/maths.scm') 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 -- cgit v1.2.3