diff options
author | 2012-10-09 09:58:59 +0000 | |
---|---|---|
committer | 2012-10-09 09:58:59 +0000 | |
commit | 2e6979309a2ecd2af3601ee45db5bbef228dca5e (patch) | |
tree | 3a1c721b3fa00e64fbe58476f44c1e59349c590a | |
parent | - adjust missing-req-4 test to properly fail (diff) | |
download | wireguard-openbsd-2e6979309a2ecd2af3601ee45db5bbef228dca5e.tar.xz wireguard-openbsd-2e6979309a2ecd2af3601ee45db5bbef228dca5e.zip |
- also check Requires.private for --exists.
-rw-r--r-- | usr.bin/pkg-config/pkg-config | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/pkg-config/pkg-config b/usr.bin/pkg-config/pkg-config index 26aa23bcb8e..bb6086b88be 100644 --- a/usr.bin/pkg-config/pkg-config +++ b/usr.bin/pkg-config/pkg-config @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $OpenBSD: pkg-config,v 1.73 2012/07/28 08:50:06 jasper Exp $ +# $OpenBSD: pkg-config,v 1.74 2012/10/09 09:58:59 jasper Exp $ # $CSK: pkgconfig.pl,v 1.39 2006/11/27 16:26:20 ckuethe Exp $ # Copyright (c) 2006 Chris Kuethe <ckuethe@openbsd.org> @@ -287,7 +287,8 @@ sub handle_config if (defined $mode{cflags} or ($mode{static} && $mode{libs}) - or $mode{printrequiresprivate}) { + or $mode{printrequiresprivate} + or $mode{exists}) { &$get_props("Requires.private"); } &$get_props("Requires"); |