summaryrefslogtreecommitdiff
path: root/check/missing-requires-private.pc
diff options
context:
space:
mode:
authorTollef Fog Heen <tfheen@err.no>2009-03-30 20:40:53 +0200
committerTollef Fog Heen <tfheen@err.no>2009-03-30 20:40:53 +0200
commit02d5ae3fb61c52f642d3b6b41973f12372fcdc60 (patch)
tree6f4f2952c0d62cfd0b92be663557cc6108b21093 /check/missing-requires-private.pc
parent34657e444f7a8879ea3ed7b5d5d795fe96b231c7 (diff)
downloadpkg-config-02d5ae3fb61c52f642d3b6b41973f12372fcdc60.tar.gz
2009-03-30 Tollef Fog Heen <tfheen@err.no>
* pkg.[ch], parse.[ch], main.c, check/Makefile.am, check/check-missing, check/missing-requires-private.pc: Skip Requires.private unless we need to look at them for cflags. Add test case. Thanks to Loïc Minier for most of the idea and the implementation. Debian #475031
Diffstat (limited to 'check/missing-requires-private.pc')
-rw-r--r--check/missing-requires-private.pc12
1 files changed, 12 insertions, 0 deletions
diff --git a/check/missing-requires-private.pc b/check/missing-requires-private.pc
new file mode 100644
index 0000000..171c866
--- /dev/null
+++ b/check/missing-requires-private.pc
@@ -0,0 +1,12 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include/somedir
+
+Name: Missing Requires.private test package
+Description: Dummy package for testing with a missing Requires.private
+Version: 1.0.0
+Requires.private: pkg-non-existent-private-dep
+Libs: -L/missing-requires-private/lib -lmissing-requires-private
+Cflags: -I/missing-requires-private/include
+foodir: bar