From d2d01a10c547477d4a0123305323c912e87d3d8c Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Tue, 6 Aug 2024 23:31:30 -0700 Subject: [PATCH] tests: add regression test fixture for github issue #286 --- Makefile.am | 1 + tests/lib1/child-prefix/pkgconfig/child-prefix-1.pc | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 tests/lib1/child-prefix/pkgconfig/child-prefix-1.pc diff --git a/Makefile.am b/Makefile.am index eec732f..0d96500 100644 --- a/Makefile.am +++ b/Makefile.am @@ -111,6 +111,7 @@ EXTRA_DIST = pkg.m4 \ tests/lib1/sysroot-dir-3.pc \ tests/lib1/sysroot-dir-4.pc \ tests/lib1/sysroot-dir-5.pc \ + tests/lib1/child-prefix/pkgconfig/child-prefix-1.pc \ $(test_scripts) \ doc/conf.py \ doc/extract.py \ diff --git a/tests/lib1/child-prefix/pkgconfig/child-prefix-1.pc b/tests/lib1/child-prefix/pkgconfig/child-prefix-1.pc new file mode 100644 index 0000000..0d32d89 --- /dev/null +++ b/tests/lib1/child-prefix/pkgconfig/child-prefix-1.pc @@ -0,0 +1,11 @@ +prefix=/usr +exec_prefix=/usr +libdir=${prefix}/lib64 +includedir=${prefix}/include + +Name: child-prefix-1 +Description: child prefix 1 test data +Requires: +Version: 1.0 +Libs: -L${libdir} -lchild-prefix-1 +Cflags: -I${includedir}/child-prefix-1