~ruther/guix-local

ref: 89bd110b8208f706f8ad5a6bd3b2360240a47448 guix-local/gnu/packages/patches/python-pyreadstat-link-libiconv.patch -rw-r--r-- 457 bytes
89bd110b — Nguyễn Gia Phong gnu: qemu-for-aflplusplus: Update to 5.2.50-1.60ebd56. 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
To ensure libiconv can be found by Guix, we need to link the library.

--- a/setup.py
+++ b/setup.py
@@ -109,9 +109,7 @@ if os.name == 'nt':
 else:
     libraries.extend(["m", "z"])
     _platform = sys.platform
-    # Mac and ubuntu: iconv needs to be linked statically
-    if _platform.lower().startswith("darwin") or (is_ubuntu() and is_python_lt_14()):
-        libraries.append("iconv")
+    libraries.append("iconv")
 
 # Extensions
 sources.sort()