Disable pkg-config on macOS
@@ -68,8 +68,11 @@ endif
# Find libraries with pkg-config if available.
ifneq (, $(shell which pkg-config))
+# But not on macOS, it's annoying
+ifneq ($(PLATFORM),Darwin)
PKG_CONFIG := pkg-config
endif
+endif
ifeq ($(PLATFORM),windows32)
# To force use of the Unix version instead of the Windows version
