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:
Timothy Sample 2020-09-02 13:44:12 -04:00
parent 4f9043c6ec
commit f14e808aea
No known key found for this signature in database
GPG key ID: 2AC6A5EC1C357C59

View file

@ -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