mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: hedgewars: Fix build with shared libraries.
Fixes: <https://bugs.gnu.org/43112>. * gnu/packages/games.scm (hedgewars)[arguments]: Set "haskell_flags" in #:configure-flags to enable dynamic linking.
This commit is contained in:
parent
4f9043c6ec
commit
f14e808aea
1 changed files with 2 additions and 1 deletions
|
@ -8848,7 +8848,8 @@ (define-public hedgewars
|
|||
;; XXX: Engine is built as Pascal source code, requiring Free Pascal
|
||||
;; Compiler, which we haven't packaged yet. With the flag below, we use
|
||||
;; a Pascal to C translator and Clang instead.
|
||||
`(#:configure-flags (list "-DBUILD_ENGINE_C=ON")
|
||||
`(#:configure-flags (list "-DBUILD_ENGINE_C=ON"
|
||||
"-Dhaskell_flags=-dynamic;-fPIC")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
|
|
Loading…
Reference in a new issue