forked from ariadne/pkgconf
tests: add a test for --static ordering bug reported to freedesktop pkg-config that was actually in pkgconf
This was fixed a long time ago, but for completeness sake. (https://bugs.freedesktop.org/show_bug.cgi?id=85085)feature/tap-sh
parent
951a844c94
commit
e6df379f32
|
@ -28,6 +28,7 @@ tests_init \
|
||||||
libs_circular2 \
|
libs_circular2 \
|
||||||
libs_circular_directpc \
|
libs_circular_directpc \
|
||||||
libs_static \
|
libs_static \
|
||||||
|
libs_static_ordering \
|
||||||
pkg_config_path \
|
pkg_config_path \
|
||||||
nolibs \
|
nolibs \
|
||||||
nocflags \
|
nocflags \
|
||||||
|
@ -235,6 +236,14 @@ libs_static_body()
|
||||||
pkgconf --libs static-archive-libs
|
pkgconf --libs static-archive-libs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
libs_static_ordering_body()
|
||||||
|
{
|
||||||
|
export PKG_CONFIG_PATH="${selfdir}/lib1"
|
||||||
|
atf_check \
|
||||||
|
-o inline:"-L/test/lib -lbar -lfoo \n" \
|
||||||
|
pkgconf --libs foo bar
|
||||||
|
}
|
||||||
|
|
||||||
pkg_config_path_body()
|
pkg_config_path_body()
|
||||||
{
|
{
|
||||||
export PKG_CONFIG_PATH="${selfdir}/lib1${PATH_SEP}${selfdir}/lib2"
|
export PKG_CONFIG_PATH="${selfdir}/lib1${PATH_SEP}${selfdir}/lib2"
|
||||||
|
|
Loading…
Reference in New Issue