guix-commits
[Top][All Lists]
Advanced

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

02/04: gnu: powertabeditor: Link with pthread.


From: Ricardo Wurmus
Subject: 02/04: gnu: powertabeditor: Link with pthread.
Date: Thu, 30 Mar 2017 04:04:41 -0400 (EDT)

rekado pushed a commit to branch core-updates
in repository guix.

commit c3913fac57c557ba5ebc98c646f75c7000ab8aa7
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Mar 30 10:11:56 2017 +0200

    gnu: powertabeditor: Link with pthread.
    
    * gnu/packages/music.scm (powertabeditor)[arguments]: Link with "-lpthread" 
to
    fix build with GCC 5.
---
 gnu/packages/music.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 198c6f1..3946c3a 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -906,6 +906,7 @@ add_library( rapidjson INTERFACE IMPORTED )"))
            (lambda* (#:key inputs #:allow-other-keys)
              ;; Link with required static libraries, because we're not
              ;; using the bundled version of withershins.
+             ;; Also add pthread for fixing a linker error.
              (substitute* "source/build/CMakeLists.txt"
                (("withershins" line)
                 (string-append line "\n"
@@ -914,6 +915,7 @@ add_library( rapidjson INTERFACE IMPORTED )"))
                                (assoc-ref inputs "libiberty")
                                "/lib/libiberty.a\n"
                                "dl\n"
+                               "pthread\n"
                                "z\n")))
              #t)))))
     (inputs



reply via email to

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