From f14e808aeae7b2fa7536f5fe62dae66b788fea84 Mon Sep 17 00:00:00 2001 From: Timothy Sample Date: Wed, 2 Sep 2020 13:44:12 -0400 Subject: [PATCH] gnu: hedgewars: Fix build with shared libraries. Fixes: . * gnu/packages/games.scm (hedgewars)[arguments]: Set "haskell_flags" in #:configure-flags to enable dynamic linking. --- gnu/packages/games.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 479ae52ab0..1cd0df0dd0 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -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