~ruther/guix-local

c3913fac57c557ba5ebc98c646f75c7000ab8aa7 — Ricardo Wurmus 9 years ago e32f8da
gnu: powertabeditor: Link with pthread.

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

M gnu/packages/music.scm
M gnu/packages/music.scm => gnu/packages/music.scm +2 -0
@@ 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