gnu: powertabeditor: Link with pthread.
* gnu/packages/music.scm (powertabeditor)[arguments]: Link with "-lpthread" to fix build with GCC 5.
This commit is contained in:
parent
e32f8dad94
commit
c3913fac57
|
@ -906,6 +906,7 @@ add_library( rapidjson INTERFACE IMPORTED )"))
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
;; Link with required static libraries, because we're not
|
;; Link with required static libraries, because we're not
|
||||||
;; using the bundled version of withershins.
|
;; using the bundled version of withershins.
|
||||||
|
;; Also add pthread for fixing a linker error.
|
||||||
(substitute* "source/build/CMakeLists.txt"
|
(substitute* "source/build/CMakeLists.txt"
|
||||||
(("withershins" line)
|
(("withershins" line)
|
||||||
(string-append line "\n"
|
(string-append line "\n"
|
||||||
|
@ -914,6 +915,7 @@ add_library( rapidjson INTERFACE IMPORTED )"))
|
||||||
(assoc-ref inputs "libiberty")
|
(assoc-ref inputs "libiberty")
|
||||||
"/lib/libiberty.a\n"
|
"/lib/libiberty.a\n"
|
||||||
"dl\n"
|
"dl\n"
|
||||||
|
"pthread\n"
|
||||||
"z\n")))
|
"z\n")))
|
||||||
#t)))))
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Loading…
Reference in New Issue