guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: hedgewars: Fix build with shared libraries.


From: guix-commits
Subject: branch master updated: gnu: hedgewars: Fix build with shared libraries.
Date: Wed, 02 Sep 2020 14:08:41 -0400

This is an automated email from the git hooks/post-receive script.

samplet pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new f14e808  gnu: hedgewars: Fix build with shared libraries.
f14e808 is described below

commit f14e808aeae7b2fa7536f5fe62dae66b788fea84
Author: Timothy Sample <samplet@ngyro.com>
AuthorDate: Wed Sep 2 13:44:12 2020 -0400

    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.
---
 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 479ae52..1cd0df0 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]