summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/raylib-python-cffi/use-direct-pkg-config-name.patch
blob: de3c7f5c693886cce493f1c584411ec207955b08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/raylib/build.py b/raylib/build.py
index d6d0823..af2b274 100644
--- a/raylib/build.py
+++ b/raylib/build.py
@@ -68,7 +68,7 @@ def check_sdl_pkgconfig_installed():
 
 def get_the_include_path_from_pkgconfig(libname):
     return subprocess.run(
-        ['pkg-config', '--variable=includedir', os.environ.get("PKG_CONFIG_LIB_" + libname, 'raylib')], text=True,
+        ['pkg-config', '--variable=includedir', libname], text=True,
         stdout=subprocess.PIPE).stdout.strip()