From f14e808aeae7b2fa7536f5fe62dae66b788fea84 Mon Sep 17 00:00:00 2001 From: Timothy Sample Date: Wed, 2 Sep 2020 13:44:12 -0400 Subject: 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(-) (limited to 'gnu/packages') 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 @@ play with up to four players simultaneously. It has network support.") ;; 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 -- cgit v1.2.3