guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/07: gnu: c-vise: Fix linkage.


From: guix-commits
Subject: 07/07: gnu: c-vise: Fix linkage.
Date: Wed, 16 Feb 2022 10:55:42 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 6481dbda5100e9b0ff9c5221280d2c0cadd663b7
Author: Greg Hogan <code@greghogan.com>
AuthorDate: Wed Feb 9 21:11:09 2022 +0000

    gnu: c-vise: Fix linkage.
    
    * gnu/packages/debug.scm (c-vise)[arguments][#:phases]:
    Fix linkage to clang and llvm shared libraries.
    
    Signed-off-by: Ludovic Court├Ęs <ludo@gnu.org>
---
 gnu/packages/debug.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm
index 94312e7c05..24d17d95b0 100644
--- a/gnu/packages/debug.scm
+++ b/gnu/packages/debug.scm
@@ -199,6 +199,11 @@ tools that process C/C++ code.")
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'fix-linkage
+           (lambda _
+            (substitute* "clang_delta/CMakeLists.txt"
+              (("\\$\\{LLVM_LINK_LLVM_DYLIB\\}") "True")
+              (("  LLVM") "  LLVMSupport"))))
          (add-before 'build 'hardcode-paths
            (lambda _
             (substitute* "cvise.py"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]