diff --git a/tests/lib2/foo.pc b/tests/lib2/foo.pc index 6491a43..5974fbe 100644 --- a/tests/lib2/foo.pc +++ b/tests/lib2/foo.pc @@ -6,5 +6,5 @@ includedir=${prefix}/include Name: foo Description: A testing pkg-config file Version: 1.2.3 -Libs: -L${libdir} -lbar -Cflags: -fPIC -I${includedir}/bar +Libs: -L${libdir} -lfoo +Cflags: -fPIC -I${includedir}/foo diff --git a/tests/run.sh.in b/tests/run.sh.in index 7435c82..5cac694 100644 --- a/tests/run.sh.in +++ b/tests/run.sh.in @@ -228,7 +228,7 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --exists --print-errors 'foo > run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --exists --print-errors 'nonexisting foo <= 3'; echo \$?" \ '1' -run_test "PKG_CONFIG_PATH='${selfdir}/lib2' ${1} ${selfdir}/lib3/bar.pc --cflags'" \ +run_test "PKG_CONFIG_PATH='${selfdir}/lib2' ${1} ${selfdir}/lib3/bar.pc --cflags" \ '-fPIC -I/usr/include/foo' # 10) tests for internal getopt implementation with options at the end