1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-21 23:18:00 -08:00
openbsd-src/usr.bin/pkg-config
gkoehler 56038fa2d2 In pkg-config, accept both "CFlags:" and "Cflags:"
matthieu@ noticed that "pkg-config libpkgconf --cflags" failed because
libpkgconf.pc has "CFlags:" with upper-case 'F', but we accepted only
"Cflags:" with lower-case 'f'.  freedesktop.org's pkg-config accepts
both "C[Ff]lags", but is otherwise sensitive to case.

Accept "CFlags" by mapping it to "Cflags" when reading the file.  Fail
if the file has more than one "C[Ff]lags".

ok millert@ matthieu@
2024-02-11 03:57:10 +00:00
..
OpenBSD In pkg-config, accept both "CFlags:" and "Cflags:" 2024-02-11 03:57:10 +00:00
Makefile
pkg-config significantly increase the speed of pkg-config by not going to the env 2023-09-22 07:28:31 +00:00
pkg-config.1 man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00