nixpkgs-suyu/pkgs/development/python-modules/glfw/search-path.patch
2021-09-10 22:03:21 +07:00

11 lines
455 B
Diff

diff --git a/glfw/library.py b/glfw/library.py
index 20387e1..9bdd62a 100644
--- a/glfw/library.py
+++ b/glfw/library.py
@@ -189,5 +189,4 @@ elif sys.platform == 'win32':
except OSError:
pass
else:
- glfw = _load_library(['glfw', 'glfw3'], ['.so', '.dylib'],
- _get_library_search_paths(), _glfw_get_version)
+ glfw = _load_library(['glfw', 'glfw3'], ['.so', '.dylib'], ['@GLFW@'], _glfw_get_version)