#752869 pkg-config: Please make --variable=flags --libs act like `--cflags --libs`

Package:
pkg-config
Source:
pkg-config
Description:
manage compile and link flags for libraries (transitional package)
Submitter:
Alastair McKinstry
Date:
2014-06-27 09:12:07 UTC
Severity:
minor
#752869#5
Date:
2014-06-27 09:08:27 UTC
From:
To:
If I wish to use pkg-config for other compiled languages like Fortran, C++ I may use additional
variables in .pc file. This is already common practice, e.g. using fflags, fcflags, for Fortran,
cxxflags,etc. with names matching GNU configure conventions.

But if I try:
pkg-config --variables=fflags --libs $pkg
to mirror
pkg-config --cflags --libs $pkg

It breaks. Please allow multiple sets on the same line, eg.
pkg-config --variables=fflags --variables=fcflags

etc.