Adjust the way packages are detected.

This commit is contained in:
David Given
2023-10-22 23:07:20 +02:00
parent c81dc166bc
commit db420b3495

View File

@@ -6,7 +6,7 @@ import subprocess
emit(
"""
PKG_CONFIG ?= pkg-config
PACKAGES := $(shell $(PKG_CONFIG) --list-package-names)
PACKAGES := $(shell $(PKG_CONFIG) --list-all | cut -d' ' -f1)
"""
)