gnu: gnome-builder: Fix the build.
As reported in #43296, gnome-builder tries to be linked against the static version of libselinux (propagated through glib/gio), failing to do so, as it also wants to be a PIE. To keep the PIE, link it against the dynamic library. Fixes <https://bugs.gnu.org/43296>. * gnu/packages/gnome.scm (gnome-builder)[arguments]: Add 'fix-ninja' phase. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
d7e033b9a1
commit
9c69fec08e
@ -11797,6 +11797,13 @@ libraries. Applications do not need to be recompiled--or even restarted.")
|
||||
(string-append (assoc-ref inputs "python-pygobject")
|
||||
"/lib")))
|
||||
#t))
|
||||
(add-after 'configure 'fix-ninja
|
||||
(lambda _
|
||||
;; #43296: meson(?) incorrectly assumes we want to link
|
||||
;; this PIE against a static libselinux.
|
||||
(substitute* "build.ninja"
|
||||
(("libselinux\\.a") "libselinux.so"))
|
||||
#t))
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
(system "Xvfb :1 &")
|
||||
|
Loading…
Reference in New Issue
Block a user