Skip to content

Commit c4c9dcc

Browse files
debug
1 parent 60b21cb commit c4c9dcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

raylib/build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
RAYLIB_PLATFORM = os.getenv("RAYLIB_PLATFORM", "Desktop")
3434

3535
def check_raylib_installed():
36-
return subprocess.run(['pkg-config', '--exists', 'raylib'], text=True, stdout=subprocess.PIPE).returncode == 0
36+
return subprocess.run(['pkg-config', '--libs', 'raylib'], text=True, stdout=subprocess.PIPE).returncode == 0
3737

3838
def check_SDL_installed():
39-
return subprocess.run(['pkg-config', '--exists', 'sdl2'], text=True, stdout=subprocess.PIPE).returncode == 0
39+
return subprocess.run(['pkg-config', '--libs', 'sdl2'], text=True, stdout=subprocess.PIPE).returncode == 0
4040

4141
def get_the_include_path():
4242
return subprocess.run(['pkg-config', '--variable=includedir', 'raylib'], text=True,

0 commit comments

Comments
 (0)