[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: gnu: ncurses: Prevent binutils reference.
From: |
guix-commits |
Subject: |
01/05: gnu: ncurses: Prevent binutils reference. |
Date: |
Thu, 12 Mar 2020 19:20:50 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 7688dbbdd7a7a091c9a0fc4850e70725e3ff64e3
Author: Marius Bakke <address@hidden>
AuthorDate: Fri Mar 13 00:17:01 2020 +0100
gnu: ncurses: Prevent binutils reference.
This fixes a regression introduces in
717c433c46e8e9fc77b796e485092e2cccee336a
where ncurses would needlessly depend on binutils on runtime.
* gnu/packages/ncurses.scm (ncurses)[arguments]: Add "cf_cv_ld_searchpath"
in
#:configure-flags.
---
gnu/packages/ncurses.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ncurses.scm b/gnu/packages/ncurses.scm
index 12e16b2..52819e9 100644
--- a/gnu/packages/ncurses.scm
+++ b/gnu/packages/ncurses.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2016 ng0 <address@hidden>
;;; Copyright © 2016 Efraim Flashner <address@hidden>
;;; Copyright © 2016 Jan Nieuwenhuizen <address@hidden>
-;;; Copyright © 2017, 2019 Marius Bakke <address@hidden>
+;;; Copyright © 2017, 2019, 2020 Marius Bakke <address@hidden>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <address@hidden>
;;;
;;; This file is part of GNU Guix.
@@ -184,6 +184,12 @@
;; around this.
,@(if (%current-target-system) '("--disable-stripping") '())
+ ;; Do not assume a default search path in ld, even if it is only
to
+ ;; filter it out in ncurses-config. Mainly because otherwise it
ends
+ ;; up using the libdir from binutils, which makes little sense
and
+ ;; causes an unnecessary runtime dependency.
+ "cf_cv_ld_searchpath=/no-ld-searchpath"
+
;; MinGW: Use term-driver created for the MinGW port.
,@(if (target-mingw?) '("--enable-term-driver") '()))))
#:tests? #f ; no "check" target