Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 587 B view raw
1diff --git a/h3/h3.py b/h3/h3.py 2index 18cf168..2cc7812 100644 3--- a/h3/h3.py 4+++ b/h3/h3.py 5@@ -34,13 +34,7 @@ from ctypes import ( 6 POINTER, 7 ) 8 9-_dirname = os.path.dirname(__file__) 10-libh3_path = ('{}/{}'.format(_dirname, 'out/libh3.1.dylib') 11- if platform.system() == 'Darwin' else ( 12- '{}/{}'.format(_dirname, 'out/h3.dll') if platform.system() == 'Windows' else 13- '{}/{}'.format(_dirname, 'out/libh3.so.1'))) 14- 15-libh3 = cdll.LoadLibrary(libh3_path) 16+libh3 = cdll.LoadLibrary('@libh3_path@') 17 18 # Type of an H3 index 19 H3Index = c_ulonglong