[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/18: gnu: icu4c: Make 'libicudata.so' behave the same on all architect
From: |
guix-commits |
Subject: |
05/18: gnu: icu4c: Make 'libicudata.so' behave the same on all architectures. |
Date: |
Wed, 31 Jul 2019 08:58:38 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit f73fe13ccd1ef3fe6f6e0409fa817e5feb612e40
Author: Marius Bakke <address@hidden>
Date: Tue Jul 23 19:11:33 2019 +0200
gnu: icu4c: Make 'libicudata.so' behave the same on all architectures.
* gnu/packages/icu4c.scm (icu4c)[arguments]: Do not pass
'--with-data-packaging=archive' in #:configure-flags. Add phase to enable
use
of standard libraries in libicudata.so.
---
gnu/packages/icu4c.scm | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm
index 2587219..922dfbd 100644
--- a/gnu/packages/icu4c.scm
+++ b/gnu/packages/icu4c.scm
@@ -76,17 +76,19 @@
`(("perl" ,perl)))
(arguments
`(#:configure-flags
- '("--enable-rpath"
- ,@(if (let ((s (or (%current-target-system)
- (%current-system))))
- (or (string-prefix? "arm" s)
- (string-prefix? "mips" s)))
- '("--with-data-packaging=archive")
- '()))
+ '("--enable-rpath")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'chdir-to-source
(lambda _ (chdir "source") #t))
+ (add-after 'chdir-to-source 'update-LDFLAGS
+ (lambda _
+ ;; Do not create a "data-only" libicudata.so because it causes
+ ;; problems on some architectures (notably armhf and MIPS).
+ (substitute* "config/mh-linux"
+ (("LDFLAGSICUDT=-nodefaultlibs -nostdlib")
+ "LDFLAGSICUDT="))
+ #t))
(add-after 'install 'avoid-coreutils-reference
;; Don't keep a reference to the build tools.
(lambda* (#:key outputs #:allow-other-keys)
- branch core-updates updated (6a2e542 -> 51d4c79), guix-commits, 2019/07/31
- 02/18: gnu: prank: Update to 170427., guix-commits, 2019/07/31
- 01/18: gnu: ftgl: Update to 2.4.0., guix-commits, 2019/07/31
- 05/18: gnu: icu4c: Make 'libicudata.so' behave the same on all architectures.,
guix-commits <=
- 07/18: gnu: libarchive: Do not build 'libarchive.a'., guix-commits, 2019/07/31
- 15/18: gnu: gnutls: Update to 3.6.9., guix-commits, 2019/07/31
- 03/18: gnu: gpsbabel: Remove GCC 5 workaround., guix-commits, 2019/07/31
- 16/18: gnu: libice: Update to 1.0.10., guix-commits, 2019/07/31
- 13/18: gnu: poppler: Update to 0.79.0., guix-commits, 2019/07/31
- 09/18: gnu: Remove workarounds for missing libarchive nettle propagation., guix-commits, 2019/07/31
- 17/18: gnu: glib: Update to 2.60.6., guix-commits, 2019/07/31
- 08/18: gnu: libarchive: Embed absolute references to required libraries in .la file., guix-commits, 2019/07/31
- 06/18: gnu: libarchive: Enable zstd support., guix-commits, 2019/07/31
- 18/18: gnu: Remove workarounds for <https://bugs.gnu.org/36721>., guix-commits, 2019/07/31