Skip to content

meson: use cups-config for looking up cups

We were looking for the cups headers and the cups lib in the default locations which for example breaks with OpenBSD where the cups headers are under /usr/local/include/

Instead just use the "cups" dependency type from meson which internally uses cups-config.

Fixes #1967 (closed)

(the first commit fixes a bug I found along the way)

Edited by Christoph Reiter

Merge request reports