aboutsummaryrefslogtreecommitdiff
path: root/tests/lib1/c-comment.pc
diff options
context:
space:
mode:
authorPierre Pronchery <khorben@FreeBSD.org>2026-04-22 13:13:41 +0000
committerPierre Pronchery <khorben@FreeBSD.org>2026-04-22 13:13:41 +0000
commit6294b6ab217a2d5f1d2bc23a64505a228294c508 (patch)
tree333ee95d0d49af6cfc4390c1ec90098e6493e332 /tests/lib1/c-comment.pc
Diffstat (limited to 'tests/lib1/c-comment.pc')
-rw-r--r--tests/lib1/c-comment.pc17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/lib1/c-comment.pc b/tests/lib1/c-comment.pc
new file mode 100644
index 000000000000..ed776a1f33e4
--- /dev/null
+++ b/tests/lib1/c-comment.pc
@@ -0,0 +1,17 @@
+/*
+ This is a C-style comment, which technically isn't allowed, but
+ some pkg-config files use them.
+ */
+
+prefix=/test
+exec_prefix=${prefix}
+libdir=${prefix}/lib
+includedir=${prefix}/include
+
+Name: c-comment
+Description: A testing pkg-config file
+Version: 1.2.3
+Libs: -L${libdir} -lfoo
+Cflags: -fPIC -I${includedir}/foo
+Cflags.private: -DFOO_STATIC
+License: ISC