guix-patches
[Top][All Lists]
Advanced

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

[bug#62017] [PATCH 1/2] gnu: raylib: Build shared libraries.


From: Sharlatan Hellseher
Subject: [bug#62017] [PATCH 1/2] gnu: raylib: Build shared libraries.
Date: Mon, 6 Mar 2023 23:42:23 +0000

* gnu/packages/game-development.scm (raylib):
  [arguments]{#:configure-flags}: Enable building shared libraries.
---
 gnu/packages/game-development.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/game-development.scm 
b/gnu/packages/game-development.scm
index a0de1b339e..a384572a9d 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -2847,12 +2847,15 @@ (define-public raylib
                     (url "https://github.com/raysan5/raylib/";)
                     (commit version)))
               (file-name (git-file-name name version))
+              ;; TODO: Unbundle src/external
               (sha256
                (base32
                 "14v5iwxh8grywiyw9agpd2sfpyriq1rwwkd9f2s4iihh0z5j7hk8"))))
     (build-system cmake-build-system)
     (arguments
-     (list #:tests? #f)) ;no test
+     (list #:tests? #f  ;no test
+           #:configure-flags
+           #~(list "-DBUILD_SHARED_LIBS=ON" )))
     (inputs (list alsa-lib
                   libx11
                   libxrandr
-- 
2.39.1






reply via email to

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