summaryrefslogtreecommitdiff
path: root/pkg-config.1
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2012-12-11 09:35:21 -0800
committerDan Nicholson <dbn.lists@gmail.com>2012-12-11 11:59:40 -0800
commitd1b7dd42d19c688bbb743cd83ccf2c518b75614c (patch)
treee5577c6c3972d77bc9dd023b795fcc7651a13365 /pkg-config.1
parent469a3d6366dc70f0af0da9a151fa02a0a886c5f8 (diff)
downloadpkg-config-d1b7dd42d19c688bbb743cd83ccf2c518b75614c.tar.gz
Enforce exclusive output options
Currently, any output option (e.g., --version or --libs) will be set as valid and what's output is at the mercy of the order of the output handling code in main(). However, most combinations of output would make no sense to be used together. For example, mixing --modversion and --print-provides provides no way to differentiate between the output from the options. Further, mixing --variable and --cflags currently causes an error because there's no space separating the option outputs. Instead, keep track of when an output option has been set and ignore subsequent output options. There are currently two exceptions: 1. Any combination of --cflags* and --libs* are allowed. 2. Both --print-requires and --print-requires-private can be used together as the user may just not care which is private. Freedesktop #54391 (https://bugs.freedesktop.org/show_bug.cgi?id=54391)
Diffstat (limited to 'pkg-config.1')
0 files changed, 0 insertions, 0 deletions