~ruther/guix-local

ref: 1a3a75c6a5e9d46aa49954604cff8ee9997ffccc guix-local/gnu/packages/patches/python-pyreadstat-link-libiconv.patch -rw-r--r-- 384 bytes
1a3a75c6 — Zheng Junjie gnu: kxmlgui: Update to 6.5.0. 1 year, 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
To ensure libiconv can be found by Guix, we need to link the library.

--- a/setup.py
+++ b/setup.py
@@ -81,8 +81,7 @@ else:
     libraries.extend(["m", "z"])
     _platform = sys.platform
     # Mac: iconv needs to be linked statically
-    if _platform.lower().startswith("darwin"):
-        libraries.append("iconv")
+    libraries.append("iconv")
 
 # Extensions
 sources.sort()