[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: guile-opengl: Fix linking with libGL.so.
From: |
guix-commits |
Subject: |
branch master updated: gnu: guile-opengl: Fix linking with libGL.so. |
Date: |
Mon, 15 Mar 2021 06:59:11 -0400 |
This is an automated email from the git hooks/post-receive script.
rekado pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 21bc326 gnu: guile-opengl: Fix linking with libGL.so.
21bc326 is described below
commit 21bc326b9a20eca7ae5b14569a8e173957eb3cd9
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Mar 15 11:57:56 2021 +0100
gnu: guile-opengl: Fix linking with libGL.so.
* gnu/packages/gl.scm (guile-opengl)[arguments]: Fix reference to libGL.so.
---
gnu/packages/gl.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 5b4f5ec..dec2835 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2014, 2016 David Thompson <davet@gnu.org>
;;; Copyright © 2014, 2015, 2016, 2017 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016 Nikita <nikita@n0.is>
-;;; Copyright © 2016, 2017, 2018, 2020 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2016, 2017, 2018, 2020, 2021 Ricardo Wurmus
<rekado@elephly.net>
;;; Copyright © 2016 David Thompson <davet@gnu.org>
;;; Copyright © 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
@@ -600,6 +600,11 @@ extension functionality is exposed in a single header
file.")
"godir = $(moddir)\n"))))
(add-before 'build 'patch-dynamic-link
(lambda* (#:key inputs outputs #:allow-other-keys)
+ (substitute* "gl/runtime.scm"
+ (("\\(dynamic-link\\)")
+ (string-append "(dynamic-link \""
+ (assoc-ref inputs "mesa")
+ "/lib/libGL.so" "\")")))
(define (dynamic-link-substitute file lib input)
(substitute* file
(("dynamic-link \"lib([a-zA-Z]+)\"" _ lib)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: guile-opengl: Fix linking with libGL.so.,
guix-commits <=