2024-01-07 17:40:35 +01:00
|
|
|
To ensure libiconv can be found by Guix, we need to link the library.
|
|
|
|
|
|
|
|
|
|
--- a/setup.py
|
|
|
|
|
+++ b/setup.py
|
2026-01-06 11:56:30 +00:00
|
|
|
@@ -109,9 +109,7 @@ if os.name == 'nt':
|
|
|
|
|
else:
|
2024-01-07 17:40:35 +01:00
|
|
|
libraries.extend(["m", "z"])
|
|
|
|
|
_platform = sys.platform
|
2026-01-06 11:56:30 +00:00
|
|
|
- # Mac and ubuntu: iconv needs to be linked statically
|
|
|
|
|
- if _platform.lower().startswith("darwin") or (is_ubuntu() and is_python_lt_14()):
|
2024-01-07 17:40:35 +01:00
|
|
|
- libraries.append("iconv")
|
|
|
|
|
+ libraries.append("iconv")
|
|
|
|
|
|
|
|
|
|
# Extensions
|
|
|
|
|
sources.sort()
|
|
|
|
|
|