diff --git a/Makefile.am b/Makefile.am index cd8e391..6a21a61 100644 --- a/Makefile.am +++ b/Makefile.am @@ -98,6 +98,8 @@ EXTRA_DIST = pkg.m4 \ tests/lib1/tuple-quoting.pc \ tests/lib1/empty-tuple.pc \ tests/lib1/orphaned-requires-private.pc \ + tests/lib1/sysroot-dir-2.pc \ + tests/lib1/sysroot-dir-3.pc \ $(test_scripts) \ doc/conf.py \ doc/extract.py \ diff --git a/tests/lib1/sysroot-dir-2.pc b/tests/lib1/sysroot-dir-2.pc new file mode 100644 index 0000000..31f3ffd --- /dev/null +++ b/tests/lib1/sysroot-dir-2.pc @@ -0,0 +1,7 @@ +prefix=${pc_sysrootdir}/usr + +Name: sysroot-dir +Description: Package for testing whether sysroot dirs are repeated or not +Version: 1 +CFlags: -I${prefix}/include +Libs: -L${prefix}/lib -lfoo diff --git a/tests/lib1/sysroot-dir-3.pc b/tests/lib1/sysroot-dir-3.pc new file mode 100644 index 0000000..07952a7 --- /dev/null +++ b/tests/lib1/sysroot-dir-3.pc @@ -0,0 +1,9 @@ +prefix=/sysroot +includedir=${prefix}/include +libdir=${prefix}/lib + +Name: sysroot-dir +Description: Package for testing whether sysroot dirs are repeated or not +Version: 1 +CFlags: -I${includedir} +Libs: -L${libdir} -lfoo