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)pull/109/head
parent
951a844c94
commit
e6df379f32
|
@ -28,6 +28,7 @@ tests_init \
|
|||
libs_circular2 \
|
||||
libs_circular_directpc \
|
||||
libs_static \
|
||||
libs_static_ordering \
|
||||
pkg_config_path \
|
||||
nolibs \
|
||||
nocflags \
|
||||
|
@ -235,6 +236,14 @@ libs_static_body()
|
|||
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()
|
||||
{
|
||||
export PKG_CONFIG_PATH="${selfdir}/lib1${PATH_SEP}${selfdir}/lib2"
|
||||
|
|
Loading…
Reference in New Issue