gnu: wsjtx: Fix undefined symbol error when starting the program.
* gnu/packages/radio.scm (wsjtx)[arguments]: Add 'work-around-runtime-bug' phase.
This commit is contained in:
parent
7adb529949
commit
b79794a763
@ -845,7 +845,20 @@ users.")
|
|||||||
("qtmultimedia" ,qtmultimedia)
|
("qtmultimedia" ,qtmultimedia)
|
||||||
("qtserialport" ,qtserialport)))
|
("qtserialport" ,qtserialport)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f)) ; No test suite
|
`(#:tests? #f ; No test suite
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'work-around-runtime-bug
|
||||||
|
(lambda _
|
||||||
|
;; Some of the programs in this package fail to find symbols
|
||||||
|
;; in libm at runtime. Adding libm manually at the end of the
|
||||||
|
;; library lists when linking the programs seems to help.
|
||||||
|
;; TODO: find exactly what is wrong in the way the programs
|
||||||
|
;; are built.
|
||||||
|
(substitute* "CMakeLists.txt"
|
||||||
|
(("target_link_libraries \\((.*)\\)" all libs)
|
||||||
|
(string-append "target_link_libraries (" libs " m)")))
|
||||||
|
#t)))))
|
||||||
(synopsis "Weak-signal ham radio communication program")
|
(synopsis "Weak-signal ham radio communication program")
|
||||||
(description
|
(description
|
||||||
"WSJT-X implements communication protocols or modes called FT4, FT8,
|
"WSJT-X implements communication protocols or modes called FT4, FT8,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user