diff --git a/tests/lib1/comments.pc b/tests/lib1/comments.pc new file mode 100644 index 0000000..be83b3e --- /dev/null +++ b/tests/lib1/comments.pc @@ -0,0 +1,6 @@ +Name: comments +Description: Portable CD-ROM I/O library +Version: 0 +#Requires: bar-2.0 +Libs: -lfoo +Cflags: -I${includedir} diff --git a/tests/run.sh.in b/tests/run.sh.in index a505fcd..aeeee07 100644 --- a/tests/run.sh.in +++ b/tests/run.sh.in @@ -255,6 +255,9 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=Foo case-sensitivity run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs comments-in-fields" \ "-lfoo" +run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs comments" \ + "-lfoo" + run_test "PKG_CONFIG_PATH='${selfdir}/lib1' PKG_CONFIG_SYSROOT_DIR='/sysroot' ${1} --libs sysroot-dir" \ '-L/sysroot/lib -lfoo' run_test "PKG_CONFIG_PATH='${selfdir}/lib1' PKG_CONFIG_SYSROOT_DIR='/sysroot2' ${1} --libs sysroot-dir" \