Files
nixpkgs/pkgs/development/python-modules/glymur/set-lib-paths.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

17 lines
530 B
Diff

diff --git a/glymur/config.py b/glymur/config.py
index 962e299..dab44ba 100644
--- a/glymur/config.py
+++ b/glymur/config.py
@@ -53,6 +53,11 @@ def _determine_full_path(libname):
if path is not None:
return path
+ if libname == "openjp2":
+ return "@openjp2_lib@"
+ if libname == "tiff":
+ return "@tiff_lib@"
+
# No joy on config file. Cygwin? Cygwin is a bit of an odd case.
if platform.system().startswith('CYGWIN'):
g = pathlib.Path('/usr/bin').glob('cygopenjp2*.dll')